| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 56482 | 2005-04-06 07:17:00 | Macromedia Dreamweaver. | Nomad (952) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 342121 | 2005-04-06 07:17:00 | Hello, Does someone know how to create links and make them white instead and that they don't change color when they have been pressed? I tried changing color but it doesn't seem to work. They are still blue. The other is, when I insert a picture that I want as my banner. I choose align left. What happen is there is a small gap between the left most and the top most of the page. Possible to pop it right on the top and left side of the page? Thanks. |
Nomad (952) | ||
| 342122 | 2005-04-06 07:39:00 | Place this before the body . <style type="text/css"> <!-- . unnamed1 { text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: #FFFFFF; } --> </style> Then add this to the a href <a href="site . co . nz" class="unnamed1"> To do this I hilighted the text and created a new ccs style |
Rob99 (151) | ||
| 342123 | 2005-04-06 11:13:00 | Or you could just stick this inside your <head> tags, usually just before the closing </head> tag for me: <style type="text/css"> body { margin: 0; padding: 0; } a, a:visited { color: white; } </style> That should fix both problems. Your banner probably has the little gap, because unless specified, the page defualts to a slight border before the edge of the page. The following code fixes that problem body { margin: 0; padding: 0; } The following code changes ALL links, both before clicking on them, and after clicking on them to white. a, a:visited { color: white; } |
mejobloggs (264) | ||
| 342124 | 2005-04-06 12:49:00 | Here is some examples i put together when Study at www.mediadesign.school.nz (http://www.mediadesign.school.nz/) MDS Studies 2003.07.23 HTMLCSS 02 Day 2 Utilising 1. Link or external CSS Goes after </title>here </head> < link rel="stylesheet" type="text/css" href="cssfile.css" /> [if cssfile.css filename for example] < file begin > classname { color: red; } < file end > In html file body <span class="classname">text here</span> 2. Embeded CSS goes between <head> <title>x</title>heregoesstyletag </head> this goes in style tag <Style> classname { color: red; } </style> In html file body <span class="classname">text here</span> 3 Inline CSS <span style="color: red; ">text here</span> 2003.07.23 HTMLCSS 03 Day 2 Multi Selector CSS <html> <head> <title>test</title> <Style> div,span.test { color: red; } </style> </head> <body> <div> <span class="test">text here</span> </div> </body> </html> 2003.07.23 HTMLCSS 03 Day 2 Pseudo's <html> <head> <title>pseudo's</title> <style> a:link { text-decoration: none; } a:hover { color: blue; text-decoration: underline; } a:visited { color: #cccccc; text-decoration: none; } a:active { color: red; text-decoration: none; } </style> </head> <body> <a href="pseudotest.html">Psuedo Test Page</a><br> <a href="pseudotest.html#2">Psuedo Test Page#2</a><br> <a href="pseudotest.html#3">Psuedo Test Page#3</a><br> <a href="pseudotest.html#4">Psuedo Test Page#4</a><br> </body> </html> Creighton www.digitalbuilder.co.nz (http://www.digitalbuilder.co.nz) [Part time work site] |
CreightonBrown (5692) | ||
| 342125 | 2005-04-06 14:38:00 | The other is, when I insert a picture that I want as my banner. I choose align left. What happen is there is a small gap between the left most and the top most of the page. Possible to pop it right on the top and left side of the page?Are you using a table for your top banner image? You could try absoulite position tag. (sorry about spelling) | Rob99 (151) | ||
| 342126 | 2005-04-06 21:22:00 | Hello, Does someone know how to create links and make them white instead and that they don't change color when they have been pressed? I tried changing color but it doesn't seem to work . They are still blue . The other is, when I insert a picture that I want as my banner . I choose align left . What happen is there is a small gap between the left most and the top most of the page . Possible to pop it right on the top and left side of the page? Thanks . The easiest way to modify a link colour, without getting into the complexity of style sheets is to place the font colour tag in between the link tag i . e . <a href=" . co . nz"><font color="#990000">visit PressF1</font></a>" target="_blank">pressf1 . co . nz"><font color="#990000">visit PressF1< Your second question can be solved by changing the spacing or margins in the HTML page . In "Page Properties" (Modify > Page Properties) to set all the margin fields (leftmargin, topmargin, marginwidth, marginheight) to "0" (no quotes) Hope this helps :) |
Mary (6534) | ||
| 342127 | 2005-04-06 21:39:00 | The easiest way to modify a link colour, without getting into the complexity of style sheets is to place the font colour tag in between the link tag i . e . <a href=" . co . nz"><font color="#990000">visit PressF1</font></a>Whilst" target="_blank">pressf1 . co . nz"><font color="#990000">visit PressF1< that may be the "easiest" way it is a step backwards in my opinion . I consider it well worthwhile learning CSS and using the code as suggested by Rob and mejobloggs . It is so quick and easy to play around with the colours and if you later decide to change the colour scheme it is only a two second task to do so, unlike with the <font> tags . CSS rocks - I couldn't do without them now . :thumbs: |
FoxyMX (5) | ||
| 342128 | 2005-04-06 22:46:00 | Also using dreamweaver it took less than a minute and about 6 mouse clicks. It takes care of all the code for you. The hardest part was pasting the code here. |
Rob99 (151) | ||
| 342129 | 2005-04-06 23:01:00 | there's no doubt in my mind that CSS is great. The reason I suggested is to keep it simple - sometimes another language in the equation is just more confusing. Learning HTML is the first step, and you have to start somewhere. There's no point jumping straight into CSS if you dont even know what the tags are in the first place. |
Mary (6534) | ||
| 342130 | 2005-04-06 23:17:00 | Whats a tag? muhahahaha. Back to frontpage..... |
Metla (12) | ||
| 1 2 | |||||