GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Teaching yourself CSS is as fun as... (https://gfy.com/showthread.php?t=750133)

V_RocKs 07-10-2007 04:10 AM

Teaching yourself CSS is as fun as...
 
pulling your own teeth out!

Mr Pheer 07-10-2007 04:14 AM

Its slightly less fun than falling down the stairs.

potter 07-10-2007 04:15 AM

It's was easy imo.

V_RocKs 07-10-2007 04:16 AM

Quote:

Originally Posted by Mr Pheer (Post 12731758)
Its slightly less fun than falling down the stairs.

Depends on if you are watching it or not...

Learning CSS wouldn't be funny at all...

Watching you fall down the stairs would make me crack a smile... So long as you get up when you are done.

V_RocKs 07-10-2007 04:17 AM

Got a question....

How do you pad shit to look the same in IE7 and FF?

zeruel 07-10-2007 04:23 AM

well it would depend on you... on how fast you can catch up with the codes... :winkwink:

V_RocKs 07-10-2007 04:38 AM

Expanding my question...

How do you make the padding on li tags the same on both IE and FF?

IE seems to add about 15 pixels automatically and FF leaves it up to you to decide.

StuartD 07-10-2007 04:48 AM

Quote:

Originally Posted by V_RocKs (Post 12731873)
Expanding my question...

How do you make the padding on li tags the same on both IE and FF?

IE seems to add about 15 pixels automatically and FF leaves it up to you to decide.

Set their margins to 0px, as well as the margins and padding for the ul/ol itself.
IE likes to margin them out on it's own.

Anyway, CSS isn't all that much harder to learn than HTML itself, it can just be tricky getting layers to position themselves correctly.

But once you get it, you'll never look back.

30 lines of html with some CSS is WAY better than 400 lines of html with tables.

morningstar 07-10-2007 04:49 AM

The best way to start learning CSS http://www.w3schools.com/w3c/default.asp

V_RocKs 07-10-2007 04:53 AM

Answered me own question...
Code:

        list-style-position: outside;

woman 07-10-2007 04:53 AM

You have to give ul and li margin:0px and padding:0px;
If you wish an indent for specific lists, give them their own class and style it at pleasure.

Good luck, woman

flashfreak 07-10-2007 05:58 AM

css was easy to learn for me

Violetta 07-10-2007 06:02 AM

Quote:

Originally Posted by StuartD (Post 12731938)
30 lines of html with some CSS is WAY better than 400 lines of html with tables.

word :2 cents:

Viper2K1 07-10-2007 06:04 AM

hehe, I'm learning that stuff also at the moment
In the past I only used it to define the font, size and color of text-links ... converting a whole layout to css isn't going so good for me (yet)
Pretty neat things you can do with it, no doubt about that.

stickyfingerz 07-10-2007 06:20 AM

Quote:

Originally Posted by V_RocKs (Post 12731773)
Got a question....

How do you pad shit to look the same in IE7 and FF?

Wait till IE becomes fully w3c compliant??? :winkwink:

StarkReality 07-10-2007 06:35 AM

If you think CSS is boring, try perl...it will make you MAD

Goodings Media 07-10-2007 08:36 AM

Css is kinda cool, cause it makes sense :)

But its all Macs around here... :) ... so we get to enjoy the happy bliss of Mac Firefox and Safari 3 :)


.... then we open the page in Windows IE and realise we've been lied to all along!!!!!!!

lucas131 07-10-2007 09:17 AM

Quote:

Originally Posted by V_RocKs (Post 12731873)
Expanding my question...

How do you make the padding on li tags the same on both IE and FF?

IE seems to add about 15 pixels automatically and FF leaves it up to you to decide.

Its mostly impossible to have same distances in ie and ff
but u can use code that ie dont interpret like html>body li {margin-left:10px;}

StuartD 07-10-2007 09:21 AM

Quote:

Originally Posted by lucas131 (Post 12733186)
Its mostly impossible to have same distances in ie and ff
but u can use code that ie dont interpret like html>body li {margin-left:10px;}

Wrong, it's not impossible at all. I covered that in the my first point here:
http://www.gofuckyourself.com/showthread.php?t=750159

Basic_man 07-10-2007 09:34 AM

CSS is your friend :P

MediaGuy 07-10-2007 09:34 AM

Maybe not distances, but there are variant factors between FF and IE that affect CSS and display -look at my background on http://blog.livecamnetwork.com/ in FF and then in IE.

IE is still more forgiving (it uses the w3c deprecated dtd) than FF with even strict html - but (and I haven't spent hours trying to figure it out) this disappearing background on the right hand of the page is NUTS. Couldn't z-index it or anything to make it come out.

Is it the nesting? I KNOW i could fix this by using tables but... no no no!

Any idea without having to go through the code line by line what it could be?

Bro Media - BANNED FOR LIFE 07-10-2007 09:41 AM

css is fun to learn, and easy

CaptainHowdy 07-10-2007 09:51 AM

Quote:

Originally Posted by V_RocKs (Post 12731983)
Answered me own question...
Code:

        list-style-position: outside;

:1orglaugh !!

woj 07-10-2007 09:55 AM

come on, it's not that hard... it's pretty much just learning html...

Tom_PM 07-10-2007 10:01 AM

FF and IE handle the css box model differently which is a royal pain in the ass everytime. I wish these people would realise that by handling the most very basic web design standards incorrectly or differently, they serve to screw us all.
Having to insert hacks and shit is never a good thing, but seems par for the course when talking about microsoft, doesnt it?

JD 07-10-2007 10:06 AM

css is tits :)

macmark 07-10-2007 02:03 PM

I found HTML and tables easy to learn back in the day. CSS layout was a major pain due to the shear amount of browser bugs that you need to be aware of.

tranza 07-10-2007 02:09 PM

Sounds like fun!! Enjoy!!!!!

V_RocKs 07-10-2007 05:34 PM

Quote:

Originally Posted by StarkReality (Post 12732391)
If you think CSS is boring, try perl...it will make you MAD

Code:

$lessbullshit = 'bubbathr='.$text.'&[email protected]&addy='.$url.'&cmentbak='.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'&submit=Say%20It!&';
$morebullshit = 'uathor_spamsucks='.$text.'&[email protected]&rul_spamsucks='.$url.'&ocmment_spamsucks='.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'&usbmit_spamsucks=Say%20It!&';
$bullshit = 'spam_guard_check=1&human=i%20am%20human&mindy=Mindy&8d10f63aeadd9bbd91a9325fe85d102d=608&xAbhhngTHAzToLmvVS=354&81d53df0d5f3543779472665467205f3=1554&ulrika=Ulrika&mike=mike&yousuck=alot&antispam=stew&spam_guard_check=1&checkpoint=spammers_go_home&16a13c892451bfc0063703fab1859ffa=4088&';

$clip = $lessbullshit.$morebullshit.$bullshit.'comment_post_ID='.$number.'&author='.$text.'&[email protected]&url='.$url.'&comment='.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'%20'.$a[int rand($#a)].'&submit=Submit%20Comment';
$request = HTTP::Request->new('POST',$sitename,$h);
$request->content_type('application/x-www-form-urlencoded');
$request->content($clip);
$request->referer($sitename);

$response = $ua->simple_request($request);


print $response->code(),"\n";


$request = HTTP::Request->new('GET',$urla.$number,$h);
$request->content_type('application/x-www-form-urlencoded');

$response = $ua->simple_request($request);

PERL is fun....


All times are GMT -7. The time now is 08:36 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc