logo
IRC Archive / Freenode / #css / 2010 / May / 28 / 2
chovy
float
Gho
Tried float:left;
Can I show the the style.css please?
*show you the
DanInMass
no
use http://webdevout.net/test
you start posting code in teh channel an no one will help you
post your example there and link the page and perhaps someone will be able to assist
Gho
I was going to use Pastebin, but ok
Vooloo
can someone help me align these span boxes with the text, I have tried numerous ways but can't figure it out. http://pastebin.ca/1873169
maybe there is a better way
DanInMass
the guys here prefer the webdev one most of the time
_ZofBot4
(webdevou...v&raw) HTML: Valid ( http://xrl.us/bhm8g9 ) CSS: Valid ( http://xrl.us/bhm8hb ) DOCTYPE: HTML 4.01 Strict + url (MIME: text/css;charset=UTF-8 )
Gho
Oh great, I took someone else's code to make them horizontal, and now they've jumped out of the div
sluther
hi guys.... here's my code http://www.webdevout.net/test?02w
i want all of the arrows to be centered on the bar.
(instead of offset to the right)
AdamWeston
hi all
I'm ashamed to say I've never tried to make my text resizable to the user, so I need to know the best approach to that.
templaedhel
Javascript?
azazul
AdamWeston: use EMs
templaedhel
Oh, like that
I was thinking buttons to change font size
AdamWeston
I know that using a unit other than pt or px, but how do you set the base size?
I'd like to have people see 11px unless they choose to make it bigger or smaller... does that make sense, or when you make it resizeable do you give up all hope of even suggesting a size?
templaedhel
Why would I get non anitaliased @font-face text on windows chrome?
nafta
hello, to isnert two stylesheets to an html....do I just add to <link> lines and that's it?
do I just add two <link> lines, and that's it? **
AdamWeston
yes
if anyone here is in #web, I would appreciate someone asking an op why I am banned from the channel? I think it must be an error
\mSg
all /gateway/web users are banned from #web...I guess they want you to use a real client to connect
AdamWeston
oh =/
difficult, many workplaces have firewall that block IRC ports
also: jeez not friendly. there is no message or anything to that effect, and the gateway is provided by freenode itself. makes no sense
ive been thinking for weeks i was personally banned for some inadvertant mistake on my part
ugh
azazul
AdamWeston: it doesnt matter HOW you change the font size
but for fonts to scale in IE you will need EMs
\mSg
there's no way to create a message when banning an address
azazul
and then you can change the base font size ( imo , better in html{} ) and it will change in all the elements
\mSg
and they probably had to ban it due to abuse
coldhost
can someone take a look at my site at the comments area and tell me why the width its not working? http://coldhost.net/welcome/default/comments/3
AdamWeston
understood azazul. but in ems, the font size is relative to... what exactly?
coldhost
Thanks!
azazul
AdamWeston: it is relative to browsers default font size
AdamWeston
thats wwhat i thought
azazul
usually 16px , but it can be change for people with vision impairments
and when you scale the font size in browser it will essentaly change that default value
AdamWeston
ok i guess what i need to do is search for some info on default font sizes and then ue filters to address any that arent 16px
azazul
why ?
different default font size is NOT set by accident
AdamWeston
because i want to try and show a specific size for those users who havent chosen soemthing bigger or smaller
azazul
its because people want bigger/smaller text by default
AdamWeston
no you misunderstand
i want to overcome differences in the browser defaults, not the user's choice
azazul
im not aware of a browser which had a different default font size
AdamWeston
ah ok
azazul
if it IS different , then it has been users choice
AdamWeston
thats really what i needed to know i guess. so i can calculate based on 16px
acr0nym
You should be able to put the default size in body {} and then use ems from there on :)
AdamWeston
again, when i say default, i mean the size the browser would show if the user has not chosen something different either from the gui or with their own stylesheet
ok i'll figure it out since i cant seem to express my goal very well lol
coldhost
a little help here please..
acr0nym
AdamWeston, if you have time you should check out this article http://css-tricks.com/css-font-size/ it explains a lot about css font-sizes
azazul
]ask @ coldhost
_ZofBot4
coldhost, Ask forth your question to the all-knowing channel and we shall bestow upon you the answer of correctitude. Just ask and wait, if someone can help they will.
azazul
or you cant find the keys on the keyboard ?
coldhost
can someone take a look at my site at the comments area and tell me why the width its not working? http://coldhost.net/welcome/default/comments/3
yes i can find them very well
azazul
@
coldhost
:)
_ZofBot4
(coldhost...nts/3) HTML: 327 Errors (see: http://xrl.us/bhm8mw ) CSS: Valid ( http://xrl.us/bhm8my ) DOCTYPE: XHTML 1.0 Strict + url + 1 XML prolog (MIME: text/html; charset=utf-8 )
azazul
(Action) facepalms
AdamWeston
thanks acr0nym and azazul
azazul
start by removing the <?xml
coldhost
i know i have lots of error. i am stuck on that comments thing for some hour. first comment takes the width of 300 next they dont..
azazul
its caused by #d a{}
AdamWeston
are you awre your site identifies you as a "cold ho"?
coldhost
AdamWeston: what do u mean?
#d a {i have just a background picture here}
azazul
orly
AdamWeston
coldhost: I'm joking, but on my browser, your errors result in a dark object covering part of your logo
coldhost
yes yes..i know
AdamWeston
and alos, you are one cold ho.
also
your words;)
azazul
coldhost: there is this magical feature in firefox
get it
its called : firebug
Dravekx
got it
good
:D
cryptide, oh.. reason I havent been here in a while is that I'm changing professions.. took a bigger position offer in IT.
AdamWeston
wow i was making this harder than it is. all browsers really use 16px as the base font size?!
coldhost
azazul: i have it..
azazul
<coldhost>#d a {i have just a background picture here}
doesnt look like you are able to ues it
Dravekx
AdamWeston, mostly.
AdamWeston
Drave: please do point out any pitfalls
azazul
AdamWeston: yes
coldhost
azazul: point your firebug on the comment text and u will see i declared everything on width 300px and still
AdamWeston
obviously things like mobile browsers will differ
coldhost
nothing
azazul
(Action) facepalms
Dravekx
AdamWeston, in your case for an amateur then, yes. (professionally, not always)
:)
AdamWeston
i am actually a professional! I hate to admit that while i was an early adopter of most best practices, I've continued using px
somehow I ran into early difficulty with relative units
and ran away
Dravekx
oh, no offense, just constructive criticism :)
lol
AdamWeston
come on man, i've been using CSS since 1999, I was talking about separation of style from content to coldfusion programmers who thought i was insane
:)
azazul
then it looks like nothign has changed in past 10 years
logic - content - design - behavior separation is still a rare thing to behold
coldhost: if you are talking about overflowing text then its actually something you should be fixing on serverside , by adding &sh;y (soft hyphens ) in long words
AdamWeston
or let it overlap if you prefer
Dravekx
too bad, there's no sex in the champaigne room
AdamWeston
if you make the right column float right and the left float left then overflowing text will just stick out without breaking the layout
azazul:people seem smarter about that stuff today from my experience
Dravekx
Anyone for burgers, steaks, and hot dogs? Im on the grill... let me know, I'll send you one as soon as I get pictures.
AdamWeston
but we do have a lot of issues with sites requiring javascript to work at all
thats a newer problem in the same category
coldhost
AdamWeston: i am trying what u are saying..
AdamWeston
coldhost, does your layout work without that long text?
azazul
it doesnt
the menu is breaking it
AdamWeston
yeah they're alrready floated properly
azazul
because he has height: 100% + padding on the link
AdamWeston
yep
you can set the #d height to 38 or more nad that will fix it
and
that might not be the best way though
azazul
maybe im missing something , but 100% + padding is ALWAY higher then container , AdamWeston
ok , not always , but in thiscase
coldhost
AdamWeston: overflow: hidden; did the trick!!
AdamWeston: thanks a lot man!!
azazul: same for you
you are my heroes
azazul
<coldhost>AdamWeston: overflow: hidden; did the trick!!
like curing broken finger by hacking of the arm
AdamWeston
yeah that wasnt my suggestion
glad you like it though lol
azazul: I didn't see any 100% padding
coldhost
whew...:) i defenetly need to study more css
AdamWeston
but the UL had a hight slightly more than it's wrapper div, and being flaoted, it was sticking out the bottom
azazul
on #d li a{}
AdamWeston
oh right
enerel
why class print is printing only 1st page?
azazul
enerel: 42
enerel
42?
AdamWeston
as long as the wrapper for the menu were higher it would work, but it would be better to flaot it so it can grow to hold the ul
azazul
yes , thats the answer
enerel
what do you mean
okushi hi nigga
anyone please see this http://www.webdevout.net/test?02x
why only 1st page is printing
_ZofBot4
(webdevou...x&raw) HTML: 1 Errors (see: http://xrl.us/bhm8oq ) CSS: Valid ( http://xrl.us/bhm8os ) DOCTYPE: HTML 4.01 Strict + url (MIME: text/html;charset=UTF-8 )
enerel
azazul
still makes no sense
enerel
what do you mean
your posts are also no sense
anyone else please help
oksushi
enerel: validate your markup, do not use presentational attributes
enerel
it is validated now
guys it is so simple why dont understand
SpiLoT
[04:00] <enerel> okushi hi nigga
i lol'd.
now i feel better sharing it.
oksushi
I was trying to ignore it
the style sheet is in CSS tab
azazul
especially i like this part : body {visibility:hidden;background:#ffffff;}
]schools @ enerel
_ZofBot4
enerel, Explore the intricacies of HTML and CSS here: http://wsc.opera.com/ , www.htmlhelp.com/ , http://css-discuss.incutio.com/ , www.brainjar.com/ , www.htmldog.com/ , http://css.maxdesign.com.au/
enerel
if there are other thing than print class it will hide itt and it does
i know css i am expert
i just dont know why it only prints 1st page
azazul
.. i think im gonna cry
enerel
thats it
oksushi
enerel: you are not an expert
enerel
whats wrong with that body hidden
and you cant answer
great
SpiLoT
if no one wants to do it, i'll do.
enerel: you aren't an expert, actually, no one said it.
you suck.
beside, you know absolute nothing on CSS
adn you are placing stupid random values
please, rather than wasting your and our time, go take some lessons
causwe that sh*t is an easy sh*t
enerel
f u
SpiLoT
you too honey
MIRV-
omg
enerel
flower ass faggots
SpiLoT
nice