Go Back   Graphic Design Forum > Graphic Design > Web Design

Web Design Web Design type posts here

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-02-2004, 07:21 PM   #1
Guest
 
Posts: n/a
CSS Pros! Can we all work together I need your help.

Okay so I need to finish this that I started working on in January but due to a lack of freaking time with all the print work I never got back to it till, TODAY.

What I need to know specifically is why the link rendering is not working cause I know I'm attaching the style sheet correctly. Maybe I got the formatting wrong but when I checked it I thought it was correct.

So can you guys look over this and help me I'm going to check out the CSS referance at the w3schools site.

HTML Page:
www.cbcamerica.com/test/index.htm

CSS Style sheet:
www.cbcamerica.com/test/css/ganz.css

I'm completely determined to finish this and unless my boss yanks me out of my chair I'm going to work on the website for the next two months.

Also since I know Ryan is going to help, I was wondering if you know any PHP or ASP Ryan? If you do PM me cause I wanted to disscuss something with you.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-03-2004, 01:17 AM   #2
axoi
Senior Member
 
Join Date: Dec 2003
Posts: 239
What exactly are the links supposed to do?

When I cursor over the links they have a grey bar highlight...

I know both PHP and ASP BTW.


You need to put the text-decoration: none in the anchor tag like so:

#GanzNav a {
text-decoration: none;
}

- Bill

Post Edited (axoi) : 4/2/2004 8:20:57 PM GMT
axoi is offline   Reply With Quote
Old 04-03-2004, 01:48 AM   #3
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
Like Bill said, you have to add the a after #GanzNav. Right now you are applying the styles to the GanzNav div instead of the links in side. Using #GanzNav a {} tells it to apply the styles to all anchor tags inside of #GanzNav.



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-03-2004, 02:54 AM   #4
Guest
 
Posts: n/a
Thanks guys!


This is what I ended up doing:

a:link{
color: #999999;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
text-decoration : none;

}

a:hover{
color: #FF9900;
text-decoration : none;
}

a:visited{
color: #666666;

But I was wondering if I can add all these attrabutes to the '#GanzNav' section with out loosing the formatting.

Also I added a new nav section to the upper right hand side called '#corpNav' But the problem is that it's breaking after each link I need it to go across the screen horizontally not verticaly.

Like this:
Home About Us Divisions Contact Us Worldwide

Not this:
Home
About Us
Divisions
Contact Us
Worldwide

Also since you both now PHP and ASP. I wanted to add a database to this site to fetch info so I can update the site easily. Right now the site is over 200 pages. It was originally designed in Frontpage and when I started working here I got the MX suite and I do so much print work that I haven't gotten a chance to work on this. I have an ASP development book that I'll be reading but I want to finish the skeleton of the site being that I'm a designer then go and add the dynamic content.

I appreciate all your help so far guys and hopefully you can assit me in getting this thing up to par.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-03-2004, 04:59 AM   #5
axoi
Senior Member
 
Join Date: Dec 2003
Posts: 239
Benjo,

If you have the tags bare like this:

a:link { ... }
a:hover {...}

it applies to EVERY anchor (a) tag. But if you add just the id you want like so:

#GanzNav a:link { ....}
#GanzNav a:hover {...}

Then it only applies to those anchors inside the div ( or whatever you put the id on ) tag. So anchor tags
in the rest of the body would not get the styling.

Oh for the left to right styling I'm assuming your using a block level tag around the anchor:

#corpNav <whatever tag you surround the anchors with> { display: inline; }

This will cause those tags to appear left to right.

- Bill
axoi is offline   Reply With Quote
Old 04-05-2004, 07:28 PM   #6
Guest
 
Posts: n/a
axoi thanks man. Now the problem all CSS codes faces is that it's not working in Safari but it works great in IE. I've made a bunch of improvement to the code but I'll upload it once I finish off all the sections. I was doing some codeing on the weekend on my own site (which is down for the meantime).

I'm using alot of CSS sites to accomplish this cause I'm still a noob. I just don't want to bog you guys down unless it's something that is killing me.

I have another question. I want to build a custom search option for the site. Right now I'm using the atomz search feature extension for Dreamweaver but I wanted to build my own. What do you think I should use to get this thing done.

Also I'll probably post an update cause I have to get this done and I'm going to actually work instead of spending my day here. LOL! Yea sometimes you have to do it.


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-05-2004, 07:37 PM   #7
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
Personally, I would use Google. http://www.google.com/searchcode.html



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-05-2004, 07:40 PM   #8
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
Also, I noticed that you aren't using a doctype on the page. That could be one of your safari problems.



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Old 04-05-2004, 07:56 PM   #9
Guest
 
Posts: n/a
Thanks Ryan on both of those tips.

I'm using:
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'
'http://www.w3.org/TR/html4/loose.dtd'>

But does this support CSS?


'Adventure, Excitement, A Jedi craves not these things.'
'Anger...fear...aggression. The dark side of the Force are they.'
  Reply With Quote
Old 04-05-2004, 09:29 PM   #10
Ryan8720
Senior Member
 
Ryan8720's Avatar
 
Join Date: Jun 2003
Location: WV, USA
Posts: 4,343
Yep, that will work, just make sure you put it at the top of all your pages.



C:\DOS
C:\DOS\RUN
RUN DOS RUN
Ryan8720 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT. The time now is 11:07 PM.




GRAPHICS.COM NEWSLETTER
The weekly Graphics.com newsletter is a great way to stay up to date on what's new on the site and in the world of graphics. Subscribe »
JOB LISTINGS
Featured Listings
Spring and Summer Communications Internships
The Congressional Hispanic Caucus Institute (CHCI)
Washington, DC
Director of Leadership Communications
The Savannah College of Art and Design
Savannah, GA
Photo Retoucher for Major Entertainment Company
Adecco Creative (Photo Retoucher)
Stamford, CT
Senior Webmaster/Designer
DiversityInc
Newark, NJ

See all other great design jobs on our Job Board

Post a risk-free
job listing for $279


Latest Blog Entries

Hollywood vs. The People of Walmart
Ben Kessler

Aol. Debris
Susan Kirkland

Designism 4.0: Is Sustainability Sustainable?
Ben Kessler

A Few Thoughts on Fluid & Static Media
Susan Kirkland

The Evolution of Paper
Chris Dickman

JOBS: Hiring & Firing in Design
Susan Kirkland



WebMediaBrands
mediabistro learnnetwork freelanceconnect SemanticWeb
Jobs | Events | News
Copyright 2010 WebMediaBrands Inc. All rights reserved.
Advertise | Terms of Use | Privacy Policy

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.