Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - DESIGN WITH CSS
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedDESIGN WITH CSS

 Post Reply Post Reply Page  <12
Author
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Direct Link To This Post Posted: 03 December 2004 at 5:55am
Originally posted by dpyers dpyers wrote:

I know you can override it with your own style sheet but how do you disable CSS?


sorry i ment override, using the style you can set in the options/prefrances, of the browsers.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 03 December 2004 at 9:42am
I use a style sheet override myself for some sites. It's particularly easy in FireFox but it overrides html not just css.
 
I have a large monitor and use a 1600x1200 screen res to manage a lot of windows. Too many sites use fixed 10pt/px fonts that look like little drops of flysh*t on the screen.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
maniva View Drop Down
Groupie
Groupie
Avatar

Joined: 04 April 2002
Location: Italy
Status: Offline
Points: 82
Direct Link To This Post Posted: 06 December 2004 at 9:23am

Please try to use this css. is very simple and efficient. It is a layout with header footer and three colums.

#container
{
width: 100%;
margin: 0 auto;
background-color: #ddd;
color: #333;
border: 1px solid gray;
line-height: 130%;
}

#top
{
padding: 0;
background-color: #FFF;
}

#top P {
 margin-tom: 0;
 margin-bottom: .5em;
}

#top P {
 margin-tom: 0;
 margin-bottom: .5em;
}

#top h1
{
padding: 0;
margin: 0;
}

#leftnav
{
float: left;
width: 120px;
margin: 0;
padding: 1em;
}

#rightnav
{
 float: right;
 width: 160px;
 margin: 0;
 padding: 1em;
 background-color: #ddd;
}

#content
{
 margin-left: 170px;
 border-left: 1px solid gray;
 margin-right: 160px;
 border-right: 1px solid gray;
 padding: 1em;
 max-width: 36em;
 background-color: #FFF;
 height: 800px;
}

#footer
{
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #fff;
border-top: 1px solid gray;
}

#leftnav p, #rightnav p { margin: 0 0 1em 0; }
#content h2 { margin: 0 0 .5em 0; }

Ivano Mangiarotti
Back to Top
kasl_33 View Drop Down
Groupie
Groupie
Avatar

Joined: 15 June 2003
Location: United States
Status: Offline
Points: 86
Direct Link To This Post Posted: 06 December 2004 at 2:51pm
Or you could just create an includes page with something like the following and then assign the links and div's classes to match the style and then just include the page in every page using SSI.
 
It is pretty similar to css and the specs may even work in css, but this makes an easy way for browsers to modify styles.
 
Tell me if I don't know what I am talking about here...
 

<style>
 <!--
A.nlink:link, A.nlink:visited, A.nlink:active {text-decoration: none; font-weight: normal; color: #800000}
A.nlink:hover {text-decoration: none; color: #CCCCCC}
-->
</style>
www.kasl.info

The PHP/MySql Web Development site
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.