₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,317 members, 8,511,180 topics. Date: Sunday, 01 November 2026 at 12:21 AM

Toggle theme

Css Style Problem - Webmasters - Nairaland

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

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;
}
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

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

How Can I Change Discription Of My Website? • Don't Be Deceived . • 6 Months Free Basic Reseller Account For 20 People