| Author |
I don't understand CSS
|
|
| David Preston 2005-05-20, 7:39 pm |
| I'm trying to make a web page that has links (<a> tags) formatted in a
couple of different ways on the same page. I know CSS is the way to do
it, but I don't begin to understand how.
Please, would someone direct this thicko to a tutorial that explains the
way to do it in *very* simple terms...
--
David Preston
Now playing: The Beat - Tears Of A Clown
| |
|
| In article <d6lhut$ml0$1@newsg4.svr.pol.co.uk>,
dave@dbpreston.wanadoo.co.uk says...
> I'm trying to make a web page that has links (<a> tags) formatted in a
> couple of different ways on the same page. I know CSS is the way to do
> it, but I don't begin to understand how.
>
> Please, would someone direct this thicko to a tutorial that explains the
> way to do it in *very* simple terms...
>
>
Go here:
http://www.w3schools.com/css/default.asp
| |
| Chris Hope 2005-05-20, 7:39 pm |
| David Preston wrote:
> I'm trying to make a web page that has links (<a> tags) formatted in a
> couple of different ways on the same page. I know CSS is the way to do
> it, but I don't begin to understand how.
>
> Please, would someone direct this thicko to a tutorial that explains
> the
> way to do it in *very* simple terms...
This should head you in the right direction
http://www.google.com/search?q=css+tutorial
--
Chris Hope | www.electrictoolbox.com | www.linuxcdmall.com
| |
| Ignoramus32374 2005-05-20, 7:39 pm |
| On Fri, 20 May 2005 15:48:48 -0500, saz <saz1958@nospammersexcite.com> wrote:
> In article <d6lhut$ml0$1@newsg4.svr.pol.co.uk>,
> dave@dbpreston.wanadoo.co.uk says...
>
> Go here:
>
> http://www.w3schools.com/css/default.asp
A beautiful link. I was desperate for something like this.
i
--
| |
| Norman L. DeForest 2005-05-20, 7:39 pm |
|
On Fri, 20 May 2005, David Preston wrote:
> I'm trying to make a web page that has links (<a> tags) formatted in a
> couple of different ways on the same page. I know CSS is the way to do
> it, but I don't begin to understand how.
>
> Please, would someone direct this thicko to a tutorial that explains the
> way to do it in *very* simple terms...
I'm just learning CSS myself (at least, trying to) and have found it very
convenient to have CSS and HTML references available for off-line viewing.
Besides on-line references at:
http://www.htmlhelp.org/index.htm
the "Web Design Group's Help file Distribution Page",
http://www.htmlhelp.org/distribution/
has links for downloading the references for off-line access in a number
of formats (including Windows Help file format). The zipped HTML versions
of their references are:
"HTML 3.2 Reference - Zipped HTML"
http://www.htmlhelp.org/distribution/wilbur.zip
"HTML 4.0 Reference - Zipped HTML":
http://www.htmlhelp.org/distribution/wdghtml40.zip
"CSS Guide - Zipped HTML":
http://www.htmlhelp.org/distribution/wdgcss.zip
You may find the latter especially convenient for your current endeavour.
--
">> consider moving away from Front Page...."
">To what? Any suggestions?"
"Naked bungee-jumping. It's less humiliating <g>"
-- Matt Probert in alt.www.webmaster, March 20, 2005
| |
| David Preston 2005-05-20, 7:39 pm |
| Norman L. DeForest wrote:
> Besides on-line references at:
> http://www.htmlhelp.org/index.htm
> the "Web Design Group's Help file Distribution Page",
> http://www.htmlhelp.org/distribution/
> has links for downloading the references for off-line access in a number
> of formats (including Windows Help file format). The zipped HTML versions
> of their references are:
>
> "HTML 3.2 Reference - Zipped HTML"
> http://www.htmlhelp.org/distribution/wilbur.zip
>
> "HTML 4.0 Reference - Zipped HTML":
> http://www.htmlhelp.org/distribution/wdghtml40.zip
>
> "CSS Guide - Zipped HTML":
> http://www.htmlhelp.org/distribution/wdgcss.zip
>
> You may find the latter especially convenient for your current endeavour.
>
That's the sort of thing I was looking for, thank you.
Now a follow up question that proves just how lacking my knowledge is in
this area -
A stylesheet has just this entry-
nav.a:link { color: #FFFF66}
My understanding is that any link inside, say, a table with a
class="nav" should be yellow (#FFFF66)
But it just doesn't work - the link is the standard blue.
I'm obviously doing something wrong, but I don't know what.
--
David Preston
Listening to the sound of silence
| |
| William Tasso 2005-05-20, 7:39 pm |
| Forging a path through the Usenet jungle, armed only with a rusty Mozilla
Thunderbird 1.0 (Windows/20041206), David Preston stumbled into
alt.www.webmaster and said:
> ...
> A stylesheet has just this entry-
> nav.a:link { color: #FFFF66}
>
> My understanding is that any link inside, say, a table with a
> class="nav" should be yellow (#FFFF66)
..nav a:link {color:#ffff66;}
--
Whatever you do - do something.
| |
|
| In article <d6llt8$pqv$1@newsg4.svr.pol.co.uk>,
dave@dbpreston.wanadoo.co.uk says...
> Norman L. DeForest wrote:
>
> That's the sort of thing I was looking for, thank you.
>
> Now a follow up question that proves just how lacking my knowledge is in
> this area -
>
> A stylesheet has just this entry-
> nav.a:link { color: #FFFF66}
>
> My understanding is that any link inside, say, a table with a
> class="nav" should be yellow (#FFFF66)
>
> But it just doesn't work - the link is the standard blue.
>
> I'm obviously doing something wrong, but I don't know what.
>
>
The correct way to write that is:
nav.a:link { color: #ffff66; }
You left out the semi-colon, and you should also use lower-case for all
letters (the semi-colon was the real problem).
| |
|
| In article <MPG.1cf81a247cd50dc098977c@news.comcast.giganews.com>,
saz1958@nospammersexcite.com says...
> In article <d6llt8$pqv$1@newsg4.svr.pol.co.uk>,
> dave@dbpreston.wanadoo.co.uk says...
> The correct way to write that is:
>
> nav.a:link { color: #ffff66; }
>
> You left out the semi-colon, and you should also use lower-case for all
> letters (the semi-colon was the real problem).
>
It should also have a dot in front of the nav. Sorry.
..nav.a:link { color: #FFFF66}
| |
| William Tasso 2005-05-20, 7:39 pm |
| Forging a path through the Usenet jungle, armed only with a rusty
MicroPlanet Gravity v2.50, saz stumbled into alt.www.webmaster and said:
> It should also have a dot in front of the nav. Sorry.
>
> .nav.a:link { color: #FFFF66}
Keep going - you'll get there :)
btw, semi-colon is optional on the last entry and the characters in the
colour code are case insensitive.
--
Whatever you do - do something.
| |
|
| In article <op.sq3g3gh7m9g4qz-wnt@tbdata.com>, SpamBlocked@tbdata.com
says...
> Forging a path through the Usenet jungle, armed only with a rusty
> MicroPlanet Gravity v2.50, saz stumbled into alt.www.webmaster and said:
>
>
> Keep going - you'll get there :)
>
> btw, semi-colon is optional on the last entry and the characters in the
> colour code are case insensitive.
>
>
I should have quit while I was ahead.
| |
|
|
| Blinky the Shark 2005-05-20, 7:39 pm |
| Norman L. DeForest wrote:
> On Fri, 20 May 2005, David Preston wrote:
[color=darkred]
[color=darkred]
> I'm just learning CSS myself (at least, trying to) and have found it very
> convenient to have CSS and HTML references available for off-line viewing.
> Besides on-line references at:
> http://www.htmlhelp.org/index.htm
> the "Web Design Group's Help file Distribution Page",
> http://www.htmlhelp.org/distribution/
> has links for downloading the references for off-line access in a number
> of formats (including Windows Help file format). The zipped HTML versions
> of their references are:
> "HTML 3.2 Reference - Zipped HTML"
> http://www.htmlhelp.org/distribution/wilbur.zip
> "HTML 4.0 Reference - Zipped HTML":
> http://www.htmlhelp.org/distribution/wdghtml40.zip
> "CSS Guide - Zipped HTML":
> http://www.htmlhelp.org/distribution/wdgcss.zip
> You may find the latter especially convenient for your current endeavour.
Here's a handy tool. The Web Developer Extension for Firefox has an
option on its toolbar to *Edit* your stylesheet and see the changes in
real time, the stylesheet and the page sharing a split screen. Add a
zero to a 2% margin value, and you're instantly looking at that page
with that style change.
--
Blinky Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info: http://blinkynet.net/comp/uip5.html
| |
| David Dorward 2005-05-20, 7:39 pm |
| David Preston wrote:
> Now a follow up question that proves just how lacking my knowledge is in
> this area -
> A stylesheet has just this entry-
> nav.a:link { color: #FFFF66}
That means a <nav> element (which doesn't exist in HTML) that is an
unvisited link and is a member of the class "a".
> My understanding is that any link inside, say, a table with a
> class="nav" should be yellow (#FFFF66)
Lets build this up piece by piece.
An anchor:
a
That is an unvisited link:
a:link
That is a descendent of a table:
table a:link /* note the descendent selector is a space */
And that table is a member of class "nav":
table.nav a:link
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
| |
| David Preston 2005-05-20, 7:39 pm |
| Blinky the Shark wrote:
>
> Here's a handy tool. The Web Developer Extension for Firefox has an
> option on its toolbar to *Edit* your stylesheet and see the changes in
> real time, the stylesheet and the page sharing a split screen. Add a
> zero to a 2% margin value, and you're instantly looking at that page
> with that style change.
>
Well, ffs, I've had that installed for ages and never spotted that feature.
--
David Preston
Listening to the sound of silence
| |
| Blinky the Shark 2005-05-20, 11:38 pm |
| David Preston wrote:
> Blinky the Shark wrote:
[color=darkred]
> Well, ffs, I've had that installed for ages and never spotted that feature.
Menus Are Your Friends(tm) ;)
Enjoy, David.
--
Blinky Linux Registered User 297263
Killing all Usenet posts from Google Groups
Info: http://blinkynet.net/comp/uip5.html
| |
| David Preston 2005-05-20, 11:38 pm |
| David Preston wrote:
> Blinky the Shark wrote:
>
> Well, ffs, I've had that installed for ages and never spotted that feature.
>
And it works, too!
My stylesheet entry should have read '.nav a:link { color: #FFFF66}'
Progress, at last!
--
David Preston
Listening to the sound of silence
| |
| Matt Probert 2005-05-21, 4:17 am |
| Once upon a time, far far away David Preston
<dave@dbpreston.wanadoo.co.uk> spluttered
>My understanding is that any link inside, say, a table with a
>class="nav" should be yellow (#FFFF66)
>
>But it just doesn't work - the link is the standard blue.
>
>I'm obviously doing something wrong, but I don't know what.
REMEMBER a web browser may be set to ignore CSS suggestions.
Matt
--
The Probert Encyclopaedia - Beyond Britannica
http://www.probertencyclopaedia.com
| |
| Charles Sweeney 2005-05-21, 7:20 am |
| John Bokma wrote
> Norman L. DeForest wrote:
>
>
> drop that one.
>
>
> drop that one.
>
>
> http://w3c.org/
Drop that one.
--
Charles Sweeney
http://CharlesSweeney.com
| |
| William Tasso 2005-05-21, 7:22 pm |
| Forging a path through the Usenet jungle, armed only with a rusty Forte
Free Agent 1.21/32.243, Matt Probert stumbled into alt.www.webmaster and
said:
> Once upon a time, far far away David Preston
> <dave@dbpreston.wanadoo.co.uk> spluttered
>
> REMEMBER a web browser may be set to ignore CSS suggestions.
yes, a usefule reminder but unless the document author has tried to be
clever with the markup there will be no problems accessing page content
even for the most dumb UA.
When it comes to markup, less (really) is more.
--
Whatever you do - do something.
| |
| Norman L. DeForest 2005-05-21, 7:22 pm |
|
On 21 May 2005, Charles Sweeney wrote:
> John Bokma wrote
>
>
> Drop that one.
Could you suggest any other downloadable references that can be used
off-line?
(I would love to find a complete (and free) downloadable JavaScript
reference that can be accessed off-line. The downloadable ECMA specs only
cover the core of the language without specifying any of the objects,
properties, methods, etc. etc. supported by browsers. It's much like the
situation that existed with the original Pascal specification, with no
defined way to perform I/O, access files or link to other routines.
("writeln" was the only I/O supported.) Only when implementers added
"extensions" to the language did Pascal start to become usable for
practical purposes.)
--
">> consider moving away from Front Page...."
">To what? Any suggestions?"
"Naked bungee-jumping. It's less humiliating <g>"
-- Matt Probert in alt.www.webmaster, March 20, 2005
| |
| Eric Jarvis 2005-05-21, 7:22 pm |
| Charles Sweeney me@charlessweeney.com wrote in
<Xns965D642AED34Emecharlessweeneycom@130.133.1.4>:
> John Bokma wrote
>
>
> Drop that one.
>
Don't drop any until you've looked through them all and chosen the ones
that suit you.
--
eric
www.ericjarvis.co.uk
"live fast, die only if strictly necessary"
| |
| David Preston 2005-05-21, 7:22 pm |
| William Tasso wrote:
> Forging a path through the Usenet jungle, armed only with a rusty Forte
> Free Agent 1.21/32.243, Matt Probert stumbled into alt.www.webmaster
> and said:
>
>
>
> yes, a usefule reminder but unless the document author has tried to be
> clever with the markup there will be no problems accessing page content
> even for the most dumb UA.
>
> When it comes to markup, less (really) is more.
>
So far as this current project goes, the aforementioned link colour
changes will be as fancy as it gets. Having said that, however, playing
with the FF developer toolbar led me to test the page skellington for
validating, and after a couple of changes it does. (Albeit to a standard
of my choosing - 4.01 Transitional - which is very undemanding :-) )
--
David Preston
Now playing: The Drifters - Kissin' In The Back Row Of The Movies
| |
| William Tasso 2005-05-21, 7:22 pm |
| Forging a path through the Usenet jungle, armed only with a rusty Mozilla
Thunderbird 1.0 (Windows/20041206), David Preston stumbled into
alt.www.webmaster and said:
> ...
> to test the page skellington for validating, and after a couple of
> changes it does. (Albeit to a standard of my choosing - 4.01
> Transitional - which is very undemanding :-) )
Only a short hop to 4.01 Strict :)
and from there, a mere hoppety-skip to completely trivial markup
--
Whatever you do - do something.
| |
| Jerry Stuckle 2005-05-21, 7:22 pm |
| David Preston wrote:
> I'm trying to make a web page that has links (<a> tags) formatted in a
> couple of different ways on the same page. I know CSS is the way to do
> it, but I don't begin to understand how.
>
> Please, would someone direct this thicko to a tutorial that explains the
> way to do it in *very* simple terms...
>
That's not bad. I don't understand my wife!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
| |
| Anonymous 2005-05-23, 7:46 pm |
| In <7oOdnbKLtNPeERLfRVn-uQ@comcast.com>, jstucklex@attglobal.net wrote:
>David Preston wrote:
>
>That's not bad. I don't understand my wife!
dude, *NO* man understands his wife!
It's like, a law of nature or at least a law of femininity.
-=-
This message was sent via two or more anonymous remailing services.
| |
| William Tasso 2005-05-23, 7:46 pm |
| Forging a path through the Usenet jungle, Anonymous stumbled into
alt.www.webmaster and said:
> In <7oOdnbKLtNPeERLfRVn-uQ@comcast.com>, jstucklex@attglobal.net wrote:
>
> dude, *NO* man understands his wife!
>
> It's like, a law of nature or at least a law of femininity.
femininity has laws? well bugger me sideways with a wet kipper, and there
all along I thought they were completely random.
o random movement
o random noise generators
o random handbag/shoe selection process
> -=-
> This message was sent via two or more anonymous remailing services.
wow - the lengths some folk go to to ensure anoninimity - I guess the
wife-force is strong where you come from.
--
Whatever you do - do something.
| |
| Charles Sweeney 2005-05-23, 7:46 pm |
| William Tasso wrote
> Forging a path through the Usenet jungle, Anonymous stumbled into
> alt.www.webmaster and said:
>
> wow - the lengths some folk go to to ensure anoninimity - I guess the
> wife-force is strong where you come from.
Sure looks like it!
--
Charles Sweeney
http://CharlesSweeney.com
| |
|
| In article <KCIWLRP138495.5456018519@anonymous>,
BigappleRemailer@bigapple.yi.org says...
> In <7oOdnbKLtNPeERLfRVn-uQ@comcast.com>, jstucklex@attglobal.net wrote:
>
> dude, *NO* man understands his wife!
>
>
What's not to understand? Just do what your wife tells you and you'll
never get into trouble.
Never mind, I tried that and it didn't work.
| |
| Thrasher Remailer 2005-05-23, 11:37 pm |
| In <Xns965FC1D3814Dmecharlessweeneycom@130.133.1.4>, me@charlessweeney.com wrote:
>William Tasso wrote
>
>
>Sure looks like it!
yep, it sure is!
I use remailers becaue I'd really like to KEEP my balls
| |
| William Tasso 2005-05-23, 11:37 pm |
| Forging a path through the Usenet jungle, armed only with a rusty ,
Thrasher Remailer stumbled into alt.www.webmaster and said:
> In <Xns965FC1D3814Dmecharlessweeneycom@130.133.1.4>,
> me@charlessweeney.com wrote:
>
> yep, it sure is!
>
> I use remailers becaue I'd really like to KEEP my balls
WARNING: this link may contain images of an explicit sexual nature. If
viewing such things is illegal in your territory or if you're likely to be
offended then DO NOT follow the link.
Ouch! http://tinyurl.com/9gqmf
--
Whatever you do - do something.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |