SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast emcgill's Avatar
    Join Date
    Jul 1999
    Location
    Michigan, USA
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I am new to Cascading Style Sheets and I was wondering if I could have a few questions answered.

    Is it possible to load your whole Navigation Bar and scheme into CSS? What happens if the surfers browser does not support CSS?

    Is there a better way that I could do my navigation sheme, so I could simply edit one file and have all pages in my web site change?

    Eric

  2. #2
    SitePoint Wizard
    Join Date
    Sep 1999
    Posts
    1,390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    CSS is for setting up custom HTML tags and keeping all formatting in a seperate file. It is a great help without a doubt.

    It can set up a navigation bar scheme, but if your visitors have an old browser (3.0 and below) then they will see the text with no formatting. Take a look at your site on others' computers to get an idea of how that would look.

    CSS cannot include seperate files. For that, look into SSI if your server supports it. If you have a free host, then they might not support it. However, they might provide another way of including a file into another.

    I will be glad to help you set up a CSS file, and get you into SSI if you need so.

    ------------------
    <A HREF="http://www.redrival.com/trcfreebies/
    " TARGET=_blank>http://www.redrival.com/trcfreebies/
    </A> Get more hits, for Free!

  3. #3
    SitePoint Member
    Join Date
    Oct 1999
    Location
    Canyon,TX,USA
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My entire website is based all on CSS manipulation. Some people may think that it is sort of rude to leave out the older browsers, but up to now I haven't heard any complaints, only compliments on my design. The contents of my site are contained completely in one HTML document, pages are controlled by a menu function I wrote that control the visibility elemnt of each layer (page in this case), plus I have written a page scroller that makes the site look like it is a frameset, but it is not, and they don't have to keep turning the dang scroll wheel on their mouse, they just simply hold the mouse over the scrolling arrows. To see what I have done with this, go to www.mac-syndicate.com and if you have any questions, just email me and I'll be glad to help.

    Oh, and by the way CSS DOES support external files without SSI. To do that just include this in the head of the document:

    &lt;link href="yourstylesheet.css" rel="stylesheet" type="text/css"&gt;

    You have just imported an external stylesheet!

    [This message has been edited by jazzman (edited January 10, 2000).]

  4. #4
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The word on the street is that 3.0 browsers are not Y2K compliant. So, the worries that some of your visitors won't be seeing CSS is moot. And even if they can't see the CSS features, then they will see it as plain HTML, which still isn't bad. Sometimes, using CSS navigation is much better than using gif images as buttons. Just think how long it would take if Webmaster-Resources used gif's for nav buttons.

    ------------------
    http://www.CandMWebDesign.com - The best in web site design, maintenance, marketing, and development



  5. #5
    jbm
    SitePoint Community Guest
    I use CSS a lot, but I always try to make sure that my webpages are still readable in browsers that dont support CSS. If you are pretty new to CSS, try
    http://www.westciv.com/style_master/...ial/index.html

    Its a very nice tutorial, also great if you just need reference.

    As to navigation, SSI's a a great tool, except in some cases when the server administrator disbles SSI's. (I just came across that problem, and I had to use an alternative). SSI's are fairly easy to learn, you might want to try
    http://superior.carleton.ca/~dmcfet/html/ssi2.html

    good luck...
    jbm

  6. #6
    SitePoint Enthusiast emcgill's Avatar
    Join Date
    Jul 1999
    Location
    Michigan, USA
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am probably going to stick with SSI on the navigation, and include CSS on the text formatting and things of the such.

    I will check out some of the sites that you all have suggested. I also found a few good tutorials over at http://www.htmlgoodies.com

    Thanks a lot,

    Eric

  7. #7
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    CSS is not used for navigation... Its used for Layout and Formatting. You would create your CSS styles that would control colors, fonts, borders and positioning. Your navigation is still built in HTML and/or javascript. CSS allows global formatting so that each element is the same without adding that formatting information to your HTML. This allows for streamlined code that is easier to write, easier to fix and easier to improve.

    ------------------
    Wayne Luke

    The Majormud Encyclopedia - www.bloodquest2.com
    Come Play one of the hottest games on the net.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •