css default a: coding
Posted by Taylor Bernard on July 24, 2015
trying to figure this bug out yesterday before i uploaded stuff...
anytime i make an 'a:' link it was doing funky things. double underline, opacity change on txt.
found out theres a default ahref code at the top of the page in the monderinzr buildout.
i thought that having somethign below it would overrwite it, or it wouldnt be universal.
do you just completely take it out of the css?
heres what they have:
/*
a {
color: #ccc;
text-decoration: none;
border-bottom: 1px solid #777;
display: inline-block;
height: 1.1em;
padding: 0 1px;
}
a:hover {
color: #fff;
border-color: #aaa;
}
.a-inline {
display:inline;
padding: 0;
}
*/
anytime i make an 'a:' link it was doing funky things. double underline, opacity change on txt.
found out theres a default ahref code at the top of the page in the monderinzr buildout.
i thought that having somethign below it would overrwite it, or it wouldnt be universal.
do you just completely take it out of the css?
heres what they have:
/*
a {
color: #ccc;
text-decoration: none;
border-bottom: 1px solid #777;
display: inline-block;
height: 1.1em;
padding: 0 1px;
}
a:hover {
color: #fff;
border-color: #aaa;
}
.a-inline {
display:inline;
padding: 0;
}
*/
Comments
Justin Bernard on July 24, 2015:
what is this on?
all i asked for was basic web skeleton layout for realtree, and contact form sans any jquery/php
Taylor Bernard on July 24, 2015:
when i tried to make the links hot and locate they would break, vert align and do funky things. im not trying to not make a skeleton. just trying to get it from crapping out.
Justin Bernard on July 24, 2015:
post code build so i can see what problem is
Taylor Bernard on July 24, 2015:
in the moderizer buildout theres a default universal 'a:' tag up in their code at the very top.
if i make a div with an a: it gets doubled or overridden by the default one. never messed with the default code. do i just take theirs out?
Taylor Bernard on July 24, 2015:
http://client.fleeangrybear.com/realtree/glendale/index.html
Justin Bernard on July 24, 2015:
looking at code now
Taylor Bernard on July 24, 2015:
border-bottom: 1px solid #777;
thats making the double underline
Justin Bernard on July 24, 2015:
nav doesnt even need to be built out, my design im redoing doesnt do the underlines on text/etc
no need for logos
just literally just boxes with text links that scroll down to sections
just put the name of the section in ugly text in each section box so we can see its scrolling to right place
Taylor Bernard on July 24, 2015:
Justin Bernard on July 24, 2015:
dont need logos
want as simple as just content areas
also you have wrong fields for contact it looks like...
Taylor Bernard on July 24, 2015:
Taylor Bernard on July 24, 2015:
Taylor Bernard on July 24, 2015:
http://client.fleeangrybear.com/realtree/glendale/index.html
Justin Bernard on July 24, 2015:
just blocks for all sections. put title in each, just plain text, no style. then get the scroll to code
as is its just jumping to a section, that means the js not in place
Taylor Bernard on July 24, 2015:
what do you mean its just jumping to section? is it supposed to ease or something?
Justin Bernard on July 24, 2015:
why is that red box there? kill that.
then get map embedded on contact page, dont worry about sizes, we do that later. just try to get the map plugged in on their columbus, ga addy, and then make a temp icon that we can put in place. ill design icon later, just make up something temp for now
Taylor Bernard on July 24, 2015:
Justin Bernard on July 24, 2015: