luke0
10-28-2003, 06:10 AM
how do u center my pictures on my site
i need help plz help:confused: :confused: :confused: :confused:
i need help plz help:confused: :confused: :confused: :confused:
|
Click to See Complete Forum and Search --> : how do u center my pictures on my site luke0 10-28-2003, 06:10 AM how do u center my pictures on my site i need help plz help:confused: :confused: :confused: :confused: DaveSW 10-28-2003, 06:11 AM That depends where your site is. luke0 10-28-2003, 06:14 AM have a look now www.angelfire.com/hero/aok0 the pictures is on the side of the page on my site luke0 10-28-2003, 06:25 AM the scripts DaveSW 10-28-2003, 06:26 AM try <img src="wall.gif" alt="hello CHARLES!" style="text-align:center;"> does that work? alternately <div style="text-align:center;"><img src="wall.gif" alt="hello CHARLES!"></div> Sux0rZh@jc0rz 10-28-2003, 07:04 AM btw luke0, this site is a lot cleaner than your other ones... visually that is. the code is still weird, but It's a far step you've made. grats. Im glad your finally off the whole spaztastic colors thing. I used to play AOE way back when it first came out. Chosen Wars, they were the best. fijit 10-28-2003, 10:18 AM Hi, why not just use <a href="http://www.angelfire.com./hero/aok0/stuff.html"> <div align="center"><img src="wall.gif"> </a> Hope this helps... It works for me. :D luke0 10-28-2003, 11:29 AM thankx all :cool: DaveSW 10-28-2003, 12:23 PM It works but it's not valid. http://www.htmlhelp.com/tools/validator/direct.html Basically an inline element (an 'a' tag) cannot contain a block element (a div tag). The valid way to do it is to put the div outside. <div style="text-align:center;"><a href="http://www.angelfire.com./hero/aok0/stuff.html"> <img src="wall.gif" alt="Weird picture of a wall"></a> </div> Also, if you use the text-align center css property then it will validate in strict mode. fijit 10-28-2003, 08:00 PM I see. Thanks for clearing that up for me too!!! Shall nip about my site and correct all. Thanks again. fijit:D DaveSW 10-29-2003, 02:44 AM No problem! See you around. luke0 11-10-2003, 09:50 AM thankx all, ps this the first post that has not been banned lol (coming soon) DaveSW 11-10-2003, 09:56 AM Originally posted by luke0 ps this the first post that has not been banned lol (coming soon) That's because it's not off topic. We don't lock threads that are useful, only the ones where people get off topic. So lets not go there with this one, and hopefully it won't end up in the thread graveyard. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |