Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 2 of 4 FirstFirst 1234 LastLast
Results 9 to 16 of 25
  1. #9
    Pengu's Avatar
    Pengu is offline Digital Music Pimp
    Join Date
    Nov 2002
    Location
    Um.. Here.
    Posts
    1,591
    Thanks
    0
    Thanked 0 Times in 0 Posts
    and. on a side-note. please for the love of god try not to use tables for laying out your pages. That was necessary in 1998 when NS4 was battling IE4/5... Please use CSS. much cleaner.

    For those that care, the linked site is what i am developing as a showcase for my skills, interests etc. the UI is using 100% XHTML 1.1 and CSS, with a bit of JavaScript for the scrolling. It's almost 100% supported in IE/Moz/Opera/Safari equally. WinIE let's it down a bit cus of hacky crap for PNGs (to get alpha transparency)...
    PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9

    PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup

    Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb

  2. #10
    Perseus's Avatar
    Perseus is offline Registered User
    Join Date
    Mar 2003
    Location
    Brooklyn, NY
    Posts
    446
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am proud to say I do not use tables!
    Each rectangular button is 108px width 20px height. There will be five of them, from left to right: home, events, officers, pictures, by laws. When rolled over, I want the button to change to a red background, and I want the font to become white. (Opposite of the up state), and of course, when clicked, link to the respective page. It will occur at: left: 181px, top: 145px, which is inbetween my title image and main content.

    I have uploaded my two images. Thanks a billion millions.
    Attached Images Attached Images
    PowerMac G4 | Dual 500 MHz | 640 RAM | OS 10.4.6 | CD-R/DVD-R | 64 VRAM
    PowerBook 100 | 4 RAM | OS 7.2

  3. #11
    Cat's Avatar
    Cat
    Cat is offline Registered User
    Join Date
    Jan 2003
    Location
    @ my Mac
    Posts
    1,972
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why do you need images at all? Isn't changing the backround color better? On my homepage (see signature) I made a similar menu: when you hover the mouse above it the background color and font color are inverted. Very easy to do, no need for images.
    This is not a signature (but I could be wrong).
    15" MacBook Pro C2D@2.4 GHz | 2 GB RAM | Mac OS 10.5.4 |
    Website | LinkedIn | Publications
    GP/O d-(+)@ s: a->? C++(+++) U* P+ L+>++ !E---- W+++ N o? K? w--- O? M++ V? PS+++ PE-- Y+ PGP t 5? X- R !tv b++++ DI+(++)@ D+(++) G++(+++) e+++$>++++$$ h--->---- r+++ y++++@

  4. #12
    Perseus's Avatar
    Perseus is offline Registered User
    Join Date
    Mar 2003
    Location
    Brooklyn, NY
    Posts
    446
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cat, that sounds fine to me. But what about the little gray border im using? Can you help me? Thanks.
    PowerMac G4 | Dual 500 MHz | 640 RAM | OS 10.4.6 | CD-R/DVD-R | 64 VRAM
    PowerBook 100 | 4 RAM | OS 7.2

  5. #13
    Cat's Avatar
    Cat
    Cat is offline Registered User
    Join Date
    Jan 2003
    Location
    @ my Mac
    Posts
    1,972
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I suppose a "border: thin solid gray;" or something like that would do the trick.
    This is just a very basic example:
    Code:
    <html>
    <head>
    <style>
    
    #navcontainer ul
    {
    list-style-type: none;
    text-align: center;
    }
    
    #navcontainer ul li
    {
    display: block;
    width: 108px;
    height: 20px;
    float: left;
    text-align: center;
    }
    
    #navcontainer ul li a
    {
    background: white;
    border: thin solid gray;
    border-right: 0;
    color: red;
    text-decoration: none;
    display: block;
    text-align: center;
    }
    
    #navcontainer ul li a:hover
    {
    color: white;
    background: red;
    }
    
    #navcontainer a:active
    {
    background: white;
    color: red;
    }
    
    #navcontainer li#active a
    {
    background: red;
    border: thin solid gray;
    color: white;
    }
    
    #navcontainer ul li a.last
    {border-right: thin solid gray;}
    
    </style>
    </head>
    <body>
    <div id="navcontainer">
    <ul id="navlist">
    	<li><a href="home.html">Home</a></li>
    	<li><a href="events.html">Events</a></li>
    	<li><a href="Officers.html">Officers</a></li>
    	<li><a href="pictures.html">Pictures</a></li>
    	<li><a class="last" href="bylaws.html">By Laws</a></li>
    </ul>
    </div>
    </body>
    </html>
    Copy-paste, save and look at it in Safari. It's up to you to fill in all the positioning (and margins and padding) and pick more suitable colours.

    You might want to check out some of these CSS sites:

    * http://www.htmlhelp.com/reference/css/properties.html
    * http://alistapart.com/articles/taminglists/
    * http://www.accessify.com/tools-and-w...st-o-matic.asp
    * http://www.thenoodleincident.com/tut...son/boxes.html
    Last edited by Cat; May 17th, 2005 at 03:22 PM. Reason: update to avoid double borders
    This is not a signature (but I could be wrong).
    15" MacBook Pro C2D@2.4 GHz | 2 GB RAM | Mac OS 10.5.4 |
    Website | LinkedIn | Publications
    GP/O d-(+)@ s: a->? C++(+++) U* P+ L+>++ !E---- W+++ N o? K? w--- O? M++ V? PS+++ PE-- Y+ PGP t 5? X- R !tv b++++ DI+(++)@ D+(++) G++(+++) e+++$>++++$$ h--->---- r+++ y++++@

  6. #14
    Perseus's Avatar
    Perseus is offline Registered User
    Join Date
    Mar 2003
    Location
    Brooklyn, NY
    Posts
    446
    Thanks
    0
    Thanked 0 Times in 0 Posts
    would this work as a horizontal nav bar?
    PowerMac G4 | Dual 500 MHz | 640 RAM | OS 10.4.6 | CD-R/DVD-R | 64 VRAM
    PowerBook 100 | 4 RAM | OS 7.2

  7. #15
    Perseus's Avatar
    Perseus is offline Registered User
    Join Date
    Mar 2003
    Location
    Brooklyn, NY
    Posts
    446
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hey, it worked great! thanks cat! now how do i change the font size etc of the text? i tried putting in {font: 12px/1.3 etc..} in the #nav ul { section but it didnt do anything....
    PowerMac G4 | Dual 500 MHz | 640 RAM | OS 10.4.6 | CD-R/DVD-R | 64 VRAM
    PowerBook 100 | 4 RAM | OS 7.2

  8. #16
    Pengu's Avatar
    Pengu is offline Digital Music Pimp
    Join Date
    Nov 2002
    Location
    Um.. Here.
    Posts
    1,591
    Thanks
    0
    Thanked 0 Times in 0 Posts
    font-size: 12px;
    PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9

    PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup

    Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Safari - Multiple Bookmarks Bar
    By bobw in forum Apple News, Rumors & Discussion
    Replies: 2
    Last Post: January 19th, 2009, 04:03 AM
  2. Movable Type CSS problems (rebuild destroys CSS)
    By michaelsanford in forum Design & Media
    Replies: 0
    Last Post: December 20th, 2004, 09:36 AM
  3. steel-like tool bar and menu bar ?
    By copo in forum Mac OS X System & Mac Software
    Replies: 6
    Last Post: June 13th, 2003, 10:13 AM
  4. Window title bar moves behind OS menu bar.
    By Brooks in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: December 11th, 2002, 09:56 PM

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
  •