css mess!

This is a discussion on "css mess!" within the Web Page Design section. This forum, and the thread "css mess! 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 3rd, 2006, 11:11
Up'n'Coming Member
Join Date: Apr 2006
Age: 32
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
css mess!

Hi
As some of you know, I don't know much! and am using dreamweaver for my site, without really knowing what I'm doing i've created several css style sheets, I think i may be able to do the formating I'm doing with just one, can I? and if so what do i need to do to put all of my seperate sheets into one?
any help would be greatly apprecitated.
Thanks
Reply With Quote

  #2 (permalink)  
Old Jun 3rd, 2006, 11:12
Up'n'Coming Member
Join Date: Apr 2006
Age: 32
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css mess!

in case you need to see http://www.free-online-games-player.co.uk
Reply With Quote
  #3 (permalink)  
Old Jun 3rd, 2006, 15:16
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: css mess!

Of course, just take the contents of all of them, and stick them into one (or a new one). Then, just make sure all your pages have a link to it.

Do know, if you're combining style sheets and you have some property: value combinations that are the same, which ever is lower in the file will take precedence. Like this,

Say you have:
#leftCol {
width: 250px;
background-color: $ffc;
}

#leftCol {
width: 270px;
background-color: $ccc;
}

Then, your site will always show the lower set of values, because it is physically lower in the code.

You may not have repeating values, but it can be common when merging css files.
Reply With Quote
  #4 (permalink)  
Old Jun 4th, 2006, 10:45
Up'n'Coming Member
Join Date: Apr 2006
Age: 32
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css mess!

thanks a lot, think i've got that sorted now... what I'd like to do now is put borders around the whole pages with css, is it possible to do this with one div?
Reply With Quote
  #5 (permalink)  
Old Jun 5th, 2006, 13:52
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: css mess!

Borders on the whole page, to make it like a frame? Yes it is possible.

Add to this to your body { }
Code: Select all
border: 5px solid #000000;
Make sure to set your size and color (the one above is 5px black). Now if you want it around any particular element, just use that property and you'll be set.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Reply With Quote
  #6 (permalink)  
Old Jun 5th, 2006, 14:12
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: css mess!

Quote:
Originally Posted by jpmitchell
Borders on the whole page, to make it like a frame? Yes it is possible.

Add to this to your body { }
Code: Select all
border: 5px solid #000000;
Make sure to set your size and color (the one above is 5px black). Now if you want it around any particular element, just use that property and you'll be set.
No, if you've structured your page right it should have a "container" div which encompases everything else. Give THAT the border.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #7 (permalink)  
Old Jun 5th, 2006, 14:40
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: css mess!

minute thats what I was suggesting, but I had to suppose that some people don't do it correctly and add a container :-D
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Reply With Quote
  #8 (permalink)  
Old Jun 8th, 2006, 14:48
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css mess!

You can give the body a border.
Reply With Quote
  #9 (permalink)  
Old Jun 8th, 2006, 15:16
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: css mess!

mason - that is what I said 3 posts ago... but that you can do it to a container as well, if needed (which would be more ideal).
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
Reply With Quote
  #10 (permalink)  
Old Jun 8th, 2006, 15:37
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css mess!

Quote:
Originally Posted by jpmitchell
mason - that is what I said 3 posts ago... but that you can do it to a container as well, if needed (which would be more ideal).
"That was then. Now is now." ~ Jerry Brown, former Governor of California
Reply With Quote
Reply

Tags
css, mess

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
ie6 utter mess&ie7 mess. safari&opera&firefox alright thosecars82 Web Page Design 2 May 21st, 2008 11:02
OK in IE6 - a mess in the rest... N7AS Web Page Design 13 Dec 27th, 2006 15:40
Getting into a mess! csa Web Page Design 3 Feb 23rd, 2006 14:16
My mess. Your problem. Sorry! timmytots Web Page Design 2 Nov 26th, 2005 22:53


All times are GMT. The time now is 03:50.


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