Containers??

This is a discussion on "Containers??" within the Web Page Design section. This forum, and the thread "Containers?? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 29th, 2007, 10:30
New Member
Join Date: Jun 2007
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Containers??

Hi

I'm just trying to get my head round css and am struggling somewhat. I want to do soemthing that I would have thought would be quite easy but can't seem to find out how to do it. I want something like the image I've attached at the top of each of my pages. Can anyone chuck some code at me and tell me where to put stuff etc? Cheeky I know but that's how I'll learn. Would be really grateful.
Attached Images
File Type: jpg header.jpg (18.3 KB, 21 views)
Reply With Quote

  #2 (permalink)  
Old Jun 29th, 2007, 12:44
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Containers??

Here is a barebones version but it should get you started.
CSS- I have placed it in between the <head></head> as you will see.
In a perfect world it should go in an external stylesheet but since you sound quite new at this.. leave it like this for now.
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style>
#wrapper {
    width: 780px;
    margin: 0 auto;
    }
#logo {
    width: 475px;
    float: left;
    height: 175px;
    }
.links {
    width: 150px;
    height: 175px;
    float: left;
    }    
    
ul {
    list-style: none;
    }
li {
    not styled yet
    }        
</style>
</head>
html this just follows:

Code: Select all
<body>

<div id="wrapper">
<div id="logo">Logo can go here</div>
<div class="links">
 <ul>
     <li><a href="#">Link</a></li>
     <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
 </ul>
</div>
<div class="links">
    <ul>
     <li><a href="#">Link</a></li>
     <li><a href="#">Link</a></li>
    <li><a href="#">Link</a></li>
 </ul>
</div>
</div>
</body>
</html>
Hope that helped!
Reply With Quote
  #3 (permalink)  
Old Jun 29th, 2007, 13:02
New Member
Join Date: Jun 2007
Location: UK
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Containers??

Thank you. Really appreciate you taking the time to do that.

STAR
Reply With Quote
  #4 (permalink)  
Old Jun 29th, 2007, 13:05
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Containers??

You are welcome!
Reply With Quote
Reply

Tags
container, header

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Curved Containers JamieH Web Page Design 7 Mar 9th, 2006 15:39


All times are GMT. The time now is 16:17.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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