Jump to content

Help with alignment


apexi

Recommended Posts

Hey all,

 

I'm kind of a coding newbie, but can usually figure things out on my own with a lot of trial and error. I'm stumped right now though, I cant figure out how to get the medium size preview image, and smaller thumbnail images below it to line up under HOME and ABOUT, rather than underneath PICTURES and LINKS where they currently line up. I wasn't sure if maybe someone could take a look at my source code and offer a suggestion or two. Thank you

 

http://www.gts4.com/showphotos.php?images=simsbury

Link to comment
Share on other sites

Your html markup isn't valid, it doesn't even contain a valid !DOCTYPE declaration. You need to have valid markup before you can start worrying about why things don't line up.

 

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.gts4.com%2Fshowphotos.php%3Fimages%3Dsimsbury

Link to comment
Share on other sites

just a note make sure the doctype is the very first thing in your script right now there is a line above it. if you view the source you will see.

 

as far as suggestion, do not use tables for creating a layout. it wrong redundant, and mostly limits your creativity. Instead i can recommend to have a look in to the properties float and clear. a great tutorial can be found here.

http://css.maxdesign.com.au/floatutorial/

 

try it out! ;)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.