₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,405 members, 8,421,764 topics. Date: Sunday, 07 June 2026 at 12:41 AM

Toggle theme

Css Style Problem - Webmasters - Nairaland

Nairaland ForumScience/TechnologyWebmastersCss Style Problem (781 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 DevicesHow To: Create A Simple Hover Button With Html And CssHow Is My **Free** Css Ebook?234

Solve Your Wapka Site HereWeb Developer Needed For Immediate EmploymentI Want To Register Domain From Godaddy