So I added two divs that stretch beyond the bottom of the page and I'm trying to figure out how to work in overflow such that the whole page scrolls (not just the text within the div element).
The following is my code so far. (If you look at this and think "what on earth is this mess?" I'm sorry ~_~, the following is the product of a week of exposure to CSS/DW and PS Youtube videos and web-developing websites)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
From a newb: I am looking for the safest CSS layout. I am thinking of a container div and putting all my other divs (masthead,content,colums, footer, etc.) inside of it. This seems to me the safest, easiest way to layout a page. What do I not know that I should know about this type of layout, like why don't more people use it? And what positioning should I use? I was thinking a relative div for the container and absolute divs inside of that. I appreciate your help!
I wanted to start moving my site to using divs instead of tables for formatting and I am stumped with how to center a div on my login page. The site is located at: herowares.com.
Here is my masterpage code:
<%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title>
So I have a little CSS experience but I always get stuck when I am starting out getting things in place. I am still new to CSS layouts and am trying desperately to clear my head of tables and that mind set. I have done some reading on CSS to understand and work with the code more but perhaps you guys can help me with this layout I am working on.
I am trying to get the right side stuff (headlines, logo, cd purchase) next to the girl on this layout. Here is a preview of the layout as it was in photoshop:
Here is what I have so far