Reputation: 824
I'm more of a asp.net web app dev, I came across my first side project and I stumbled on what is the best way to style a web page.
Here's my problem: I need to style a master page so any content that comes in the content place holder would fit.
I tried:
Any thoughts of how to best start to style the master page so it will hold dynamic content in it.
Upvotes: 1
Views: 377
Reputation: 10619
If this is your first project, it is expected. I would say your first approach is fine with the div layout. I am assuming that you don't have the Firebug Installed. Get it HERE and see properly which element is being rendered how and what attribute it takes. It is a slow process and you will get used to it. I am assuming that you are a noob.
Upvotes: 2
Reputation: 63966
divs
are for positioning, tables
for tabular data. If your divs
are not positioned properly when the page is rendered ; something on your css
is not playing nice. The fact that you have a Master Page or not will not affect the way your HTML elements are rendered.
Upvotes: 2