HTML/XHTML
Pages: [1]
|
|
Programming Help
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
Ok so I'm having an issue. I'm doing an assignment, and one thing I need to do is add a style to the document that removes the underline from all the links on the page.
Here's what my style tag looks like:
html code <style type="text/css"> body {font-family: sans-serif; margin: 20px; margin-bottom: 150px} h2 {margin-top: 0px} img {border-width: 0px; display: block} #summary {width: 600px; margin-bottom: 20px} #links {text-decoration: none} </style>
What am I doing wrong?
Edit: Nevermind, my textbook is a piece of shit and told me to put "#links" instead of "a".
Imma leave this truck up though, cuz I might need some help later in this assignment/class.
|
|
|
|
|
(Edited 2010 Jul 1 at 10:01)
2010 Jul 1 at 09:56
|
|
|
the_cloud_system
polly pushy pants

2008 Aug 1 • 2788
-6 ₧
|
THANK GOD NO ONE SAW THIS
moo moo moo, moo.
|
|
|
|
|
2010 Jul 1 at 10:08
|
|
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
Ok I need more help, here's a link to my project files so you can use them to see wtf I'm talking about
http://www.speedyshare.com/files/23211746/case3.rar
Ok it says
Quote: Currently the online)map div container does not display the longs peak map. Add the following style to the embedded style sheet to display the map:
Set the width of the container to 600 pixels wide by 294 pixels high.
Add a 1-pixel-wide solid black border to the container.
Apply the Ipmap.jpg graphic file as the background image.
Use relative positioning to place the container on the page. Set the top and left coordinates to 0 pixels.
Is this something I need to be doing in the style tags in the header section, or within the div tag with the id "online_map"?
You know what? Fuck my textbook, google is my new reference for anything I need to know.
|
|
|
|
|
(Edited 2010 Jul 1 at 10:37)
2010 Jul 1 at 10:21
|
|
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
HELP HELP HELP!
Ok, so before I say what wrong, I needa say that I have like 2 hours to finish this project before I need to leave for a week. I wanted it done yesterday but I've been waiting on a response from my instructor and she apparently is a complete bitch.
So on to the problem.
Quote: 6. For each link nested within a notes class element, apply the following style:
Set the width and height of the link to 20 pixels.
Hide any content that overflows the boundary of the link.
Set the background color to blue and the font color to white.
Set the z-index value to 1.
Ok, so I did this... BUT IT WONT WORK    
Here's my file if you wanna download it http://www.speedyshare.com/files/23223547/longs.html
Or here is a pastebin if you just wanna take a look
http://pastebin.com/4kbAKtvA
If someone could help, it would be awesome for you to add me on messenger ;) theblackhatter@hotmail.com
Edit: I'm referring to line 24, btw. The one that starts out ".notes a {........."
|
|
|
|
|
(Edited 2010 Jul 2 at 08:35)
2010 Jul 2 at 08:32
|
|
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
Well, I need to leave, so I went and found someone else's that they did and stole it... hopefully I get away with it. If not, its my teachers fault for neglecting to read anything that I send her
Anyway, I would still like an answer to my last post, as I AM actually trying to learn this shit. I just won't have it figured out in time for me to submit in MY work for the grade xD
|
|
|
|
|
2010 Jul 2 at 09:43
|
|
|
superjer
superjer

2005 Mar 20 • 3742
|
It appears that
.notes a {width: 20px; height: 20px; overflow: hidden; background_color: blue; font_color: white; z_index: 1}
should be
.notes a {width: 20px; height: 20px; overflow: hidden; background-color: blue; color: white; z-index: 1}
for starters.
The width and height declarations probably have no effect because your a elements are display:inline by default. So you may also want to add display:block
|
|
|
|
|
(Edited 2010 Jul 7 at 18:29)
2010 Jul 7 at 18:26
|
|
|
superjer
superjer

2005 Mar 20 • 3742
|
Rockbomb said: Edit: Nevermind, my textbook is a piece of shit and told me to put "#links" instead of "a".
Imma leave this truck up though, cuz I might need some help later in this assignment/class.
If it really says that then I believe it is the worst textbook outside of the Hitler Youth program. And even that is a close call.
|
|
|
|
|
(Edited 2010 Jul 7 at 18:32)
2010 Jul 7 at 18:31
|
|
|
SRAW
Rocket Man

2007 Nov 6 • 2068
601 ₧
|
You've never seen my ict textbook, it from 10 years ago so it says that a large hard disk has up to 10gb of space!
|
|
|
|
|
2010 Jul 7 at 18:39
|
|
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
Thanks SJ... still getting used to this css shizzle.
Also:
|
|
|
|
|
2010 Jul 8 at 08:58
|
|
|
superjer
superjer

2005 Mar 20 • 3742
|
Well that's not necessarily wrong.
css code #links a:hover {color:red;} does this:
It is a really bad name for an ID though.
|
|
|
|
|
(Edited 2010 Jul 8 at 18:41)
2010 Jul 8 at 18:40
|
|
|
Rockbomb
Dog fucker

2009 Nov 13 • 1849
-190 ₧
|
You know what?
Now that I look at it... it is an id
But, yeah... thats a retarded id name, and is very confusing... especially for a book thats supposed to teach you stuff xD
|
|
|
|
|
2010 Jul 8 at 18:58
|
|
|
|
Pages: [1]
|