Re: Div tag hell! [Resolved]
You shouldn't even be using GridLayout/Absolute positioning in the first place. Use tables to place and align your controls.
Re: Div tag hell! [Resolved]
I dont want to open up a big debate as I mean this as a serious question What should grid/absolute be used for then if not positioning controls? I thought this method had advanced from the old tables based design for greater control.
Re: Div tag hell! [Resolved]
GridLayout is a more visual method, making it easier to position your control. Not necessarily better. It can cause problems across resolutions, for one.
Re: Div tag hell! [Resolved]
What mendhak is saying is you should learn Cascading Style Sheets and be done with it.
The Designer is really just a training wheel / vehicle for newbie developers. It absolutely positions everything which would be considered poor design if it was written by a developer.
I would even go as far as telling you to practice with creating html files in Notepad and trying positioning elements (divs for the most part), with css and never resort to positioning: absolute by default .
Re: Div tag hell! [Resolved]
Thanks, I have always previously used tables/frames for positioning and css just for formatting elements such as their size and font etc. But I will now look further into css and divs for positioning. I was unaware that the designer was for the newbies and thought it was just the new way of doing things, shame none of the books on .net etc made this clear and that bad quality code would be produced. Thimk il stick to the code view from now on.
Thanks Guys.