Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,198,285 members, 7,967,695 topics. Date: Sunday, 06 October 2024 at 05:24 AM

Css Style Problem - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Css Style Problem (693 Views)

Write HTML And CSS Codes On Android Devices / How To: Create A Simple Hover Button With Html And Css / How Is My **Free** Css Ebook? (2) (3) (4)

(1) (Reply) (Go Down)

Css Style Problem by Nobody: 1:23pm On Jun 08, 2012
am having a problem with my css style my background is white and when i click a visited link is turns white matching my back ground colour i have checked every where been on it for hours need help from u guys on what to do.
Re: Css Style Problem by yawatide(f): 7:40pm On Jun 08, 2012
post a link to your website...

If you don't want to do that, at best I can guess. I know why it is happening but I need to see it within the context of your site. Basically, you will need to set up styles for a:link, a:visited, a:hover, a:active and a:focus (in that order).
Re: Css Style Problem by doncigalo: 10:38pm On Jun 08, 2012
Yeap yawatide is correct, follow her advice. You could also try reseting your styles in ur style sheet; try posting the following css code at d begining of ur style sheet.

/*====================*/
/*=== Reset Styles ===*/
/*====================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin:0;
padding:0;
border:0;
outline:0;
font-weight:inherit;
font-style:inherit;
font-size:100%;
font-family:inherit;
vertical-align:baseline;
}
body {
line-height:1;
color:black;
background:white;
}
table {
border-collapse:separate;
border-spacing:0;
}
caption, th, td {
text-align:left;
font-weight:normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
content:"";
}
blockquote, q {
quotes:"" "";
}
/******* HTML5 tags *******/
header, section, footer,
aside, nav, article, figure {
display: block;
}

1 Like

Re: Css Style Problem by Nobody: 9:52am On Jun 09, 2012
i have seen it it was in my footer all along it had a white visited css didnt even know

(1) (Reply)

Linux OS And Server Admin. / A PHP Programmer Is Needed / My Blog Not Getting Indexed After Some Changes...help

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.