nolimit
nolimit

Reputation: 824

best web design approach

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:

  1. divs that have position of where to go, but it didn't work for dynamic content (like a repeater) as it overflows beyond the div because I specified position styles for the container div.
  2. tables that have rows and cells that moves the content to the desired position but when there is a repeater in the big cell (which is the main page content) it splits the page and messes it up.

Any thoughts of how to best start to style the master page so it will hold dynamic content in it.

Upvotes: 1

Views: 377

Answers (2)

defau1t
defau1t

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

Icarus
Icarus

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

Related Questions