Help - Search - Members - Calendar
Full Version: Need help... basic html question i think
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
I am farely new to html and am running into some problems. I am using code to place my images whereever i want by pixels from top, left. If i resize the browser than the website changes completely. pics moves, words move. how do i stop this? Also i saw sites that have the words centered and different colors on the sides for example... not my site but

If you can help me at all please do

Less is often more. It's the positioning that creates the problem. Positioning is very powerful and can be extremely useful, but as you've discovered, to position page details relative the browser edges isn't a good way to go. Basically, the more you can let things be in the normal flow of the page, the more adaptable the page will be.

The design you like is very simple to accomplish. You need a container DIV to hold all the content and as a hanger for border and background. Then you just center that DIV. The image and the blurb beside it can be accomplished by using float.

The centering and floating should be done with CSS, as should any borders and backgrounds and all other presentational stuff you may use.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.