HTML - Styling Links [was 'help With This']
Hi,
I need some help. I have hyperlinks on my pages but want to make them certain colours. I have the code he PHP Code: <style type="text/css"> a:link {color: #FF0000} a:visited {color: #00FF00} a:hover {color: #FF00FF} a:active {color: #0000FF} </style> But not sure how to use it. Can anyone help? Similar TutorialsHi everyone, I hope I have posted this in the right area. This is my first time posting here. I currently have my main pages listed at the top of my site as graphics (see fussybaby.ca). I would like to potentially remove these graphics and use text links instead - I had the graphics designed for me, so I can't just go in and make new ones, however I'd like to change/rearrange the links and add some new ones. So my question is: How hard is this to do? Is this something I need to hire someone to do for me? Thanks in advance for any advice! Hi, Can anyone see a reason why this wouldn't work? HTML Code: <html> <head> <meta/> <title></title> <style type="text/css"> tr { padding: 50px; } </style> </head> <body> <table> <tr> <td>stuff</td> <td>stuff</td> </tr> <tr> <td>stuff</td> <td>stuff</td> </tr> </table> </body> </html> If i change the styling to table, it apply the padding to the table, but trying to apply padding to the tr doesn't work. Any ideas? Thanks, Matthew Millar Hi I am not so clued up re HTML as I opted for Joomla! which is great. However, I have some HTML that I would like to restyle and was hoping someone could help please. My page I have a problem with is at http://www.forum.justgomorocco.com/i...hp/Book-1.html I would like the page to appear the same as it does here http://www.justgomorocco.com/index.p...and-Towns.html I have attached the file as well if that helps. Thanks in advance. And I like the look of the site by the way, really cool. Silver Hi. I am trying to copy a layout from another application which my application will fit into (as a plugin) so obviously I would like the whole styling etc... being the same look and feel. unfortunately for this "grid" part, there is no CSS or styling info really, except for the color codes, so that's better than nothing, but what my concern and problem is that I cannot get it to look the same and no idea how to make it the same. The image attached is the original image which I am trying to make my version look like. The header cells/table contains a black image to seperate the "columns" - firstly how do I get that? (I do have the image but unsure how to actually place it where the cell ends for each column) any advice and tips are much appreciated and welcomed. I'm trying to work out away to style a navigation menu to look like the menu on this page www.boozerpit.co.uk but using CSS. Any tutorials or info available please post links here. Thanks in advacne CC_DESIGN Hello i have an iframe in my site that is loaded from another site, hence i cannot modify text properties but is there a way to add a style or something to the iframe so all text and links (especially links) to be with the color white ? thanks Hello, I am trying to generate customize numbering style for HTML ordered list like below: 1. Item no 1 2. Item no 2 a) sub item 1 b) sub item 2 (i) level no 3 (ii) level no 4 Is it possible (through css may be) to generate bullet numbers in Parenthesis? any sample code? Thanks. I'm having trouble getting a table to stay within its containing DIV. No matter what I do, I can't reduce the widths of the cells to make it fit. All cells are the same width, and using the width attribute to adjust them (either in the table or the td tags) doesn't help. Any suggestions? I'm willing to use DIV's to format the data, but it is tabular data and I think the table is still the best way to display it. Thanks Jason Hello, I'd like to display a .txt files contents within a web page or frame but be able to apply css style to the page and .txt file is this possible? and how is it done? Thanks Here is the page I am currently working on. Everything is funtioning and working properly. But there's a problem. I validate my page and I get errors fo the style sheets in the head. It is the cause of like 5 errors on my page. Theres 2 other errors are so, but they are fixable and I will get to them after I fix the style sheet errors. NOTE: The default style sheet is chose using PHP. Here is the whole coding for the actual head of my site, what you don't see in the "view source": <link rel="stylesheet" type="text/css" media="screen" title="User Defined Style" href="<?php echo (!$sitestyle)?'layout':$sitestyle ?>.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="playstation interface" href="ps3.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="wii interface" href="wii.css" /> <link rel="alternate stylesheet" type="text/css" media="screen" title="xbox interface" href="xbox.css" /> I am using multiple style sheets that user can change, and when they change, the page sets a cookie on there browser. I got this trick from alistapart.com. It works great so people that like an individual game system can change the layout, but I just wanted to fix these errors because it is chaining into other errors on the page. Does anyone have a solution for fixing this problem? I have done much research and messed around with it alot, but all things have failed. I also don't understand what hte title and media things mean in the link to the style sheet. If someone could define this for me I would appriciate it. Hey guys wats up i'm having a little trouble with links. i have some css code with the links so that they have a border on top and bottom and stuff. i have two links at the moment as i'm trying to figure this out. on to explanation lol anyways the two links are right beside each other and i want them to be but they look like one word. i'm trying to find a way to separate them into two words. here is my code: CSS: Code: #Nav{ float: left; width: 948px; height: 18px; border-top: 1px solid #FFA701; border-right: 1px solid #000; border-left: 1px solid #000; border-bottom: 1px solid #FFA701; } #Nav a{ float: left; padding: 0; margin: 0; height: 18px; color: #fff; text-transform:uppercase; text-decoration: none; font-weight: bold; overflow: hidden; } HTML: HTML Code: <html> <link href="code.css" type="text/css" rel="stylesheet"> <body bgcolor="#000"> <div id="Nav"> (a href="#" class="">Home</a> (a href="#" class="">TEST</a> </div> </body> </html> ok in the html change the ( brackets to [ because otherwise it'd prob act like a link on the forum thx in advance The problem with having only a nominal knowledge is that everything you want to do ends up taking hours because you can't figure out what it's called so you don't know how to search for it! I'm trying to have a left sidebar where when you hover over it, a new menu of links appears. Here are a few examples of what I'm looking for: Amazon. When you hover over the books or other links to the right, it gives you more options: http://www.amazon.com/ PBS. If you hover over Episodes it gives you more options. I want a left justified thing, but it's the same idea, I think: http://www.pbs.org/wnet/nature/episo...oduction/3153/ Or even something as simple as this. Hover over "Club Events." http://www.springfieldkennelclub.org/ Thanks! I am building a Website for my Web Design class in school. I am using Dreamweaver CS4 at home. What the problem is that I have linked my Myspace, my Youtube, and my Twitter on the site I am making. When I test out the links on the web what happens is that it uses the Web address I am at and the Web address I clicked and adds it together. For Example, Lets say I have linked my myspace on my youtube. It would look like this, www.youtube.com/www.myspace.com. Why does it do this. Anything helps. Thank you. Hi, I'm new at this and was wondering if anyone could help me with the Html syntax so that when i click on <a href> link instead of going to a new page it simply either drops down or pops out with a number of other links which actually bring you to pages?? Something like the main link it "options" and the sub link are "sounds" and "view". Thanks for your help!!!! Can someone look at this page for me and tell me why some of my links change color after being visited but not all of them i am stumped. http://site.sunaviationinc.com/NOVEMBER Okay im trying to get a website started and here the problem my pages are not linking. here are the links i have. Code: <li><a class="current" href="http://jailbreakmyiphone.design-is.co.uk" title="home"><span>HOME</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/news" title="news"><span>NEWS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/tutorials" title="tutorials"><span>TUTORIALS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/downloads" title="downloads"><span>DOWNLOADS</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/repos" title="repos"><span>REPO'S</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/ads" title="ads"><span>APPLE AD'S</span></a></li> <li><a href="http://jailbreakmyiphone.design-is.co.uk/contact" title="contact"><span>CONTACT</span></a></li> here a screen shot of the server and my files Also my site address is http://jailbreakmyiphone.design-is.co.uk/ thanks in advace walous I am trying to understand how links work in regards to going from one URL {A} to Another {B} that contains a 'saved' username and password in Fire Fox. If I go to {B} using the bookmarks on Fire Fox, then the saved username and password are shown and all I have to do is click on login. Works nice. If I go to {B} using a link within a Blog then the saved username and password are NOT shown and I have to re-enter them to login. A royal pain. I would like to create a link in the Blog so that when it goes to {B} the saved username and password are shown. Question: Why does the saved user name and password disappear ? How can it be corrected? Thank you for any help in understanding this. Nevyn Hi, I want to insert a link to hyperlink "consolidating a loan" to the following web address www.debtconsolidationcare.com on my website. My website is http://www.intelligentstudentfinance.com/ and need the link on the orange section where it says Sponsored Links in blue. I have uploaded the files zipped so they can be opened in dreamweaver. The file that you need is index.html. Thanks for the help Hey guys, my links are taking me away from my site. How can I make them open up into new windows instead? Any suggestions appreciated. cyclepete |