/    Sign up×
Community /Pin to ProfileBookmark

Another small questions is:

I have an <H3> & A tage that doesn’t look the same.

I have this code:

[code]
<h3>Not a member? <a class=”join” href=”joinNow.htm”>Join Now</a></h3>

h3 {
color: #fff;
padding: 20px 0px 0px 20px;
margin: -20px 0px 0px 0px;
}
a.join:link {
text-decoration: underline;
color: #febf1a;
}
a.join:visited {
text-decoration: underline;
color: #febf1a;
}
a.join:hover {
text-decoration: underline;
color: #febf1a;
}
[/code]

How can I make’em look the same?

Thanks!

to post a comment
CSS

7 Comments(s)

Copy linkTweet thisAlerts:
@IncaWarriorDec 17.2004 — IE doesn't like 0 padding I think (you don't need a unit when you use 0 either)
Copy linkTweet thisAlerts:
@weeeauthorDec 17.2004 — It's the same, no change.
Copy linkTweet thisAlerts:
@JupacDec 17.2004 — you would have to add

.join{

blah

}
Copy linkTweet thisAlerts:
@weeeauthorDec 17.2004 — add it to where?
Copy linkTweet thisAlerts:
@JupacDec 17.2004 — <h3>Not a member? <a class="join" href="joinNow.htm">Join Now</a></h3>

h3 {

color: #fff;

padding: 20px 0px 0px 20px;

margin: -20px 0px 0px 0px;

}

.join{

blah

}

a.join:link {

text-decoration: underline;

color: #febf1a;

}

a.join:visited {

text-decoration: underline;

color: #febf1a;

}

a.join:hover {

text-decoration: underline;

color: #febf1a;

}
Copy linkTweet thisAlerts:
@weeeauthorDec 17.2004 — What's that thing is good for?
Copy linkTweet thisAlerts:
@mercury7Dec 17.2004 — I believe it's like a constuctor in programming languages. It tells the broswer what to start with.

If you don't need to start with anything, then just have blank {}.

What is the difference in the display of the broswers? Does it display some things, or none of your code at all?
×

Success!

Help @weee spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.8,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...