New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

css question


Post Reply New Thread Subscribe

 
Thread Tools
Chris57701

 
Chris57701's Avatar
 
Member Since: Sep 28, 2008
Posts: 27
Chris57701 is on a distinguished road
Mac Specs: Unibody MBP 15"

Chris57701 is offline
Im an amateur at this so bare with me please.

I have an external style sheet the governs how all my pages will look. but I need to override this in a particular div on one of my pages. Im sure its something simple but I can't figure it out and google isn't being helpful today. Can anyone help me out here?
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I think you can get away with this. I have a link to a CSS file, but to override some color values I embed a style block with in the header after the link. I believe you can put an identcally named tag in that block to override what is in the linked file.

Code:
<link rel="stylesheet" type="text/css" href="css/basic.css"/>

<!-- Exception colouring. -->
<style type="text/css">
 body {color: #000000;
       background-color: #FFFF99;}
</style>

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
Chris57701

 
Chris57701's Avatar
 
Member Since: Sep 28, 2008
Posts: 27
Chris57701 is on a distinguished road
Mac Specs: Unibody MBP 15"

Chris57701 is offline
worked beautifully thank you
QUOTE Thanks

Post Reply New Thread Subscribe


« How To Link To Folder On Web Site With No "index.html" | Question about CSS/XHTML »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
The QUESTION Game ToddG Schweb's Lounge 159 08-15-2007 05:25 PM
Boot-Up Question Mark Folder Impending Doom Question. bingwalker OS X - Operating System 3 07-10-2007 05:19 AM
Ask 'me' a question... eric Schweb's Lounge 22 01-12-2007 06:33 AM
Video production question macinsandiego Movies and Video 4 11-17-2004 07:39 AM
Postscript question battleangel444 OS X - Operating System 2 07-09-2004 12:45 PM

All times are GMT -4. The time now is 04:38 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?