Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 09-22-2006, 09:47 PM   #1 (permalink)
Registered User
 
TreyeMe's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 83
OS: VISTA


Css

ok so i played around in some CSS for the first time everyone im not to sure of how it fully works yet but it doesnt seem to be very complicated considering i only really picked it up say 2-3 hours ago...im done with it for now...theres a couple noticable errors on the page i cant seem to figure out though...anyone wanna throw me a tip

http://eveotto.com/again.html

PEACE
~TreyeMe~
TreyeMe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 09-23-2006, 08:59 AM   #2 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

I'm just wondering...Did you slice everything correctly?
__________________
Nice music blog

Nvu || Notepad++ || Apache || PHP || Keep TSF Alive

"The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-23-2006, 09:29 AM   #3 (permalink)
Registered User
 
TreyeMe's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 83
OS: VISTA


probably not i think that might be the problem im running into now that im thinking about it a little more...i really dont understand i guess how to get things to line up horizontal and vertically when i want to...i just pieced it together one by one till it came out the way it did....

when you open a div and want something directly under it do you close it and open a new one...or do you leave it open add the new div then close them both....

same questionwith laying it horzontal with each other....
TreyeMe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-23-2006, 02:24 PM   #4 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

To answer your question, you should close the div tag. Closing one div and starting a new one starts a new line, so you don't have to nest them differently. Unless you use a table for your layout, the same rule applies for your second question.
__________________
Nice music blog

Nvu || Notepad++ || Apache || PHP || Keep TSF Alive

"The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-24-2006, 08:04 AM   #5 (permalink)
Registered User
 
TreyeMe's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 83
OS: VISTA


thanks for clearing that up for me DJ
TreyeMe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-24-2006, 10:22 PM   #6 (permalink)
Registered User
 
TreyeMe's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 83
OS: VISTA


i think im even farther from any understanding of how making a style sheet out of css accually works...i mean i more understand the values of what the code does but i still dont understand how it lays out....im mroe of a visual person i guess and because i cant see how the lines for the div are laying out when i put the code into it i dont really understand how to put the tags in the correct order....

if anyone would be kind enough to type up a very simple piece of code making each div a different background color and set me up a link so i can read the code and figure how it was set up to do what it does....just like two rows and two columns so i grasp te understanding of how the cells of whatever they are callled lay out i would realy apprieciate it...thank you
TreyeMe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 02:23 AM   #7 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 22
OS: WinXP


Right ok, presuming you know the basic html to start up style sheet here is some simple stuff for you.

Start you <body> with a <div id="banner"></div>

By using id, it gives your div an identification. Making you able to syle it.

When styling your banner you use:

#banner {
background:#000000;
width:780px;
height:150px
}

That will make your banner black, 780px wide, 150px high.

Now lets add a navigation. Add <div id="navigation"></div>. Again we give our div an id so that we can stylise it.

Go back into your css and add the following code:

#navigation {
background:#cccccc;
width:200px;
height:200px;
float:left
}

Here we have added a grey background, a width of 200px a height of 200px and floated it left. Using float alows you to position you div. This will position it to the left.

Lets now add a content area. Add this to your html. <div id="content"></div>

Now go back into your css and add this.

#content {
background:#dedede;
width:580px;
height:200px;
float:left;
}

This adds a width of 580px, height of 200px and also floats it left. Floating that left will position it next to the navigation.

There you go you have a basic page. Hope this helps
Wonderboy_001 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 07:02 AM   #8 (permalink)
Retired
 
gamerman0203's Avatar
 
Join Date: Oct 2005
Location: Grand Rapids, MI
Posts: 2,144
OS: XP MCE, Ubuntu Gutsy

My System

Quote:
Originally Posted by Wonderboy_001 View Post
Right ok, presuming you know the basic html to start up style sheet here is some simple stuff for you.

Start you <body> with a <div id="banner"></div>

By using id, it gives your div an identification. Making you able to syle it.

When styling your banner you use:

#banner {
background:#000000;
width:780px;
height:150px;
background-color: #0000FF;
position: absolute;
top: 10px;
left: 10px;

}
The above blue text is how to add a background color. That is the hexidecimal value for blue, but you can also just type "blue". Click here for a list of CSS color value's and their names.

The above text also states another way of positioning. By setting the position, top and left attributes, you can position the <div> anywhere you want to. That div, for instance, will be positioned 10 pixels from the top and 10 pixels from the left.

That will make your banner black, 780px wide, 150px high.

Now lets add a navigation. Add <div id="navigation"></div>. Again we give our div an id so that we can stylise it.

Go back into your css and add the following code:

#navigation {
background:#cccccc;
width:200px;
height:200px;
float:left
}

Here we have added a grey background, a width of 200px a height of 200px and floated it left. Using float alows you to position you div. This will position it to the left.

Lets now add a content area. Add this to your html. <div id="content"></div>

Now go back into your css and add this.

#content {
background:#dedede;
width:580px;
height:200px;
float:left;
}

This adds a width of 580px, height of 200px and also floats it left. Floating that left will position it next to the navigation.

There you go you have a basic page. Hope this helps
gamerman0203 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-02-2006, 07:08 AM   #9 (permalink)
Registered User
 
Join Date: Aug 2006
Posts: 22
OS: WinXP


Thanks for editing my post :) Instead of positioning it the way you did, you could also keep it the may i did and use a margin-left:10px; margin-right:10px
Wonderboy_001 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 01:29 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85