apexi Posted July 2, 2011 Share Posted July 2, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240920-help-with-alignment/ Share on other sites More sharing options...
Pikachu2000 Posted July 2, 2011 Share Posted July 2, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/240920-help-with-alignment/#findComment-1237539 Share on other sites More sharing options...
WebStyles Posted July 2, 2011 Share Posted July 2, 2011 That's hardly anything to do with php. Your page formatting is HTML. There's a specific forum for that. Quote Link to comment https://forums.phpfreaks.com/topic/240920-help-with-alignment/#findComment-1237540 Share on other sites More sharing options...
Pikachu2000 Posted July 2, 2011 Share Posted July 2, 2011 That's hardly anything to do with php. Your page formatting is HTML. There's a specific forum for that. I've already moved the thread to HTML help . . . Quote Link to comment https://forums.phpfreaks.com/topic/240920-help-with-alignment/#findComment-1237542 Share on other sites More sharing options...
cssfreakie Posted July 2, 2011 Share Posted July 2, 2011 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! Quote Link to comment https://forums.phpfreaks.com/topic/240920-help-with-alignment/#findComment-1237659 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.