Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Dr. Video Games 0089
Apr 15, 2004

“Silent Blue - .random.”

Started learning CSS and I'm trying to do something but I've been stumped.

I want to make the following say "Dear Mr. President," but the "D" is in a big red box and then the rest of the letters afterwards in normal text. I can get the D in a white box but I can't seem to get the "ear Mr. President," part to appear right next to the D. What should I do!? :staredog:

This is my css:

code:
body {
	margin: 0px;
}

.wrap {
	width: 800px;
	height: 1000px;
	position: relative;
	margin: auto;
	background: #e3e3e3;
}

.box {
	width: 80px;
	height: 70px;
	margin: auto;
	background: red;
	position: absolute;
	left: -35px; top: 30px;
	text-align: center;
	color: white;
	font-size: 55px;
	font-family: cursive;
	padding-bottom: 7px

}
& this is the HTML:

code:
<html>
<head>
	<meta charset="utf-8" />
	<link rel="stylesheet" href="css/style.css" />
</head>
<body>

<div class="wrap">
	<div class="box">D</div>
	<p>ear Mr. President,</p>
</div>


</body>
</html>

Adbot
ADBOT LOVES YOU

SlayVus
Jul 10, 2009
Grimey Drawer
Is it normal to burp foam when drinking a highly carbonated drink like Coke?

butt dickus
Jul 7, 2007

top ten juiced up coaches
and the top ten juiced up players

Dr. Video Games 0089 posted:

Started learning CSS and I'm trying to do something but I've been stumped.
It's because you're using a div. Divs are block-level elements and will take up the entire row unless you style them as inline. If you want the first letter to be styled differently, use the first-letter pseudo-element.

Flash Gordon Ramsay
Sep 28, 2004

Grimey Drawer

SlayVus posted:

Is it normal to burp foam when drinking a highly carbonated drink like Coke?

Depends. Did you swallow an entire roll of mentos just before you drank the soda?

stubblyhead
Sep 13, 2007

That is treason, Johnny!

Fun Shoe

Doctor rear end in a top hat posted:

It's because you're using a div. Divs are block-level elements and will take up the entire row unless you style them as inline. If you want the first letter to be styled differently, use the first-letter pseudo-element.

Also, and I have no idea whether this matters as I don't know CSS, but I see you're missing a semicolon in your .box definition. I don't know how stringent CSS's syntax is, but that might make things behave counter to how you want also.

SlayVus
Jul 10, 2009
Grimey Drawer

Flash Gordon Ramsay posted:

Depends. Did you swallow an entire roll of mentos just before you drank the soda?

No, I actually did not eat anything before I drank it.

Fork of Unknown Origins
Oct 21, 2005
Gotta Herd On?
Is there a way in Excel to make it search an entire text box for a word and return that test box (and preferably the one next to it) if the word is present? So basically if it read
code:
A             B
Monday     Eat Swim Work
Tuesday    Eat Work
Wednesday  Eat Work
Thursday   Eat Work Swim
Friday     Nap Work
Saturday   Nap Swim Eat
Sunday     Eat Nap
And I put in "Swim" It would return
code:
  A              B
Monday      Eat Swim Work
Thursday    Eat Work Swim
Saturday    Nap Swim Eat
I know how to use vlookup but that only works if the whole string is a match. Also my actual "B" column is much more complex so I can't split every word out into its own cell.

Tiggum
Oct 24, 2007

Your life and your quest end here.


Dr. Video Games 0089 posted:

Started learning CSS and I'm trying to do something but I've been stumped.

I want to make the following say "Dear Mr. President," but the "D" is in a big red box and then the rest of the letters afterwards in normal text. I can get the D in a white box but I can't seem to get the "ear Mr. President," part to appear right next to the D. What should I do!? :staredog:

If you float the div to the left it should do what you want, I think. Like this:

code:
<html>
<head>
<style type="text/css">
div {float: left; background-color: red; color: blue; font-size: 18pt;}
</style>
</head>

<body>
<p><div>D</div>ear Mr. President</p>
</body>
</html>

tarepanda
Mar 26, 2011

Living the Dream
Nevermind.

dokmo
Aug 27, 2006

:stat:man

Fork of Unknown Origins posted:

Is there a way in Excel to make it search an entire text box for a word and return that test box (and preferably the one next to it) if the word is present? So basically if it read
code:
A             B
Monday     Eat Swim Work
Tuesday    Eat Work
Wednesday  Eat Work
Thursday   Eat Work Swim
Friday     Nap Work
Saturday   Nap Swim Eat
Sunday     Eat Nap
And I put in "Swim" It would return
code:
  A              B
Monday      Eat Swim Work
Thursday    Eat Work Swim
Saturday    Nap Swim Eat
I know how to use vlookup but that only works if the whole string is a match. Also my actual "B" column is much more complex so I can't split every word out into its own cell.

FIND() [case sensitive] and SEARCH() [case insensitive] search within cells. Wrapping those functions inside ISNUMBER returns a TRUE/FALSE if they contain the word:



stubblyhead
Sep 13, 2007

That is treason, Johnny!

Fun Shoe

Fork of Unknown Origins posted:

Is there a way in Excel to make it search an entire text box for a word and return that test box (and preferably the one next to it) if the word is present? So basically if it read
code:
A             B
Monday     Eat Swim Work
Tuesday    Eat Work
Wednesday  Eat Work
Thursday   Eat Work Swim
Friday     Nap Work
Saturday   Nap Swim Eat
Sunday     Eat Nap
And I put in "Swim" It would return
code:
  A              B
Monday      Eat Swim Work
Thursday    Eat Work Swim
Saturday    Nap Swim Eat
I know how to use vlookup but that only works if the whole string is a match. Also my actual "B" column is much more complex so I can't split every word out into its own cell.

I don't know if this will work for you, but have you tried the sort & filter button on the far right of the ribbon?





Fork of Unknown Origins
Oct 21, 2005
Gotta Herd On?
Those are both good solutions; thank you so much!

Baron Bifford
May 24, 2006
Probation
Can't post for 2 years!
Dogs sometimes chase their own tails (much to their owners' amusement). Do wolves and other canine species do this as well?

Mak0rz
Aug 2, 2008

😎🐗🚬

Baron Bifford posted:

Dogs sometimes chase their own tails (much to their owners' amusement). Do wolves and other canine species do this as well?

Apparently!

https://www.youtube.com/watch?v=81ndVqPye7s

https://www.youtube.com/watch?v=rocF4cQJR_I

CzarChasm
Mar 14, 2009

I don't like it when you're watching me eat.
I used to have a program/add-in that would allow you to pull the audio from a youtube video, and I cannot find it again. Any suggestions?

spog
Aug 7, 2004

It's your own bloody fault.

CzarChasm posted:

I used to have a program/add-in that would allow you to pull the audio from a youtube video, and I cannot find it again. Any suggestions?

jdownloader does that.

SlayVus
Jul 10, 2009
Grimey Drawer
Where would the best place to post asking for suggestions and opinions on the design of a wifi access web portal?

Konstantin
Jun 20, 2005
And the Lord said, "Look, they are one people, and they have all one language; and this is only the beginning of what they will do; nothing that they propose to do will now be impossible for them.
Who picks up the broken furniture that people leave by the curb? Most of that stuff looks too big to fit in garbage trucks, does the trash company send a special vehicle to pick it up, or does someone actually want a broken couch that smells bad and has a bunch of stains?

stubblyhead
Sep 13, 2007

That is treason, Johnny!

Fun Shoe

Konstantin posted:

Who picks up the broken furniture that people leave by the curb? Most of that stuff looks too big to fit in garbage trucks, does the trash company send a special vehicle to pick it up, or does someone actually want a broken couch that smells bad and has a bunch of stains?

A little from column A, a little from column B. Where I live they actually don't do curbside pickup of large stuff like that unless you call in advance. You get a few free pickups a year, and then there's a surcharge afterwards I think. Personally if I'm getting rid of something like that that still has some life left in it I'll leave it at the curb overnight. If it's still there the next morning I just take it to Goodwill. I don't know how widespread this is, but I had a good friend in college who lived in Jonestown, Pennsylvania, and spring cleaning there was actually a semi-official event every year where you'd put all your old crap on the curb, and it was free pickings for anyone who wanted it.

Nintendo Kid
Aug 4, 2011

by Smythe

Konstantin posted:

Who picks up the broken furniture that people leave by the curb? Most of that stuff looks too big to fit in garbage trucks, does the trash company send a special vehicle to pick it up, or does someone actually want a broken couch that smells bad and has a bunch of stains?

Garbage trucks can fit a lot of stuff, and are great at smashing things up to fit.

Affi
Dec 18, 2005

Break bread wit the enemy

X GON GIVE IT TO YA
Going back to the bacteria convo we had a page or so ago. I usually take a two hour walk to work when the weather permits. Ie. When it is warm outside. I have my lunch in my backpack. Is this stupid?

edit;

greazeball posted:

Contact the biggest art school in your area and ask if they're looking for new models. Depending on how long the poses are (they can be anywhere from <30 seconds to all day/numerous sittings), you can be more or less dynamic. If it's longer than a minute, don't try and do anything where your arms aren't resting or leaning on something. It's actually quite challenging and a great deal of being consistent is being able to control the posture of your hips, back and shoulders.

I got a reply from them and they wanted me to describe myself and tell them about my previous modelling jobs. I mean. I havn't done modelling before. Is that a big deal? I figured I could do *stand still in pose* without previous experience.

Affi fucked around with this message at 19:53 on May 16, 2013

Bruce Hussein Daddy
Dec 26, 2005

I testify that there is none worthy of worship except God and I testify that Muhammad is the Messenger of God

SlayVus posted:

Where would the best place to post asking for suggestions and opinions on the design of a wifi access web portal?

If I understand you correctly, the access web portal is just a website that you point to in the router admin before allowing (or not) access, so it really wouldn't be different than any other website. Depending on how fancy it needed to be (users/passwords vs a disclaimer or whatever) it might not be difficult at all, a Google site for instance.

Has anyone ever changed a old school wall phone jack into a USB charging station? I know there are plates that include USB sockets with the 110, but I'm specifically interested in the (useless) phone jacks in the house. Thanks.

CzarChasm
Mar 14, 2009

I don't like it when you're watching me eat.

Affi posted:

Going back to the bacteria convo we had a page or so ago. I usually take a two hour walk to work when the weather permits. Ie. When it is warm outside. I have my lunch in my backpack. Is this stupid?

There's a lot of factors here. What kind of food? What kind of container is the food in? What kind of lunchbox? What temperature is 'warm enough' for a walk?

If you are taking yougurt or something with a lot of mayo in it for a two hour hike, in a plain paper bag, in 80 degree weather... Might be a little iffy. If you add an insulated lunchbox/thermos, some icepacks and 70 degree weather, not nearly so bad.

greazeball
Feb 4, 2003



Affi posted:

Going back to the bacteria convo we had a page or so ago. I usually take a two hour walk to work when the weather permits. Ie. When it is warm outside. I have my lunch in my backpack. Is this stupid?

edit;


I got a reply from them and they wanted me to describe myself and tell them about my previous modelling jobs. I mean. I havn't done modelling before. Is that a big deal? I figured I could do *stand still in pose* without previous experience.

Everybody thinks that until they have to do it for more than 5-10 minutes! There is a lot of patience and discipline required obviously but also a certain amount of instinct and creativity involved in choosing your poses. There are good models and bad, but it's hard to explain the difference. Just tell them you've never modelled before so they know you're at least honest. Like any job, reliability and personality go a long way.

Chickpea Roar
Jan 11, 2006

Merdre!

Affi posted:

Going back to the bacteria convo we had a page or so ago. I usually take a two hour walk to work when the weather permits. Ie. When it is warm outside. I have my lunch in my backpack. Is this stupid?

Kids in Scandinavia have been doing that forever, so it's probably going to be fine, but cheese and stuff like that won't taste as good. When I was a kid my mother would make me lunch at around 8AM and I would keep it in my bag for 3-4 hours before eating it, and I never got sick. The temperature rarely reaches over 25-30 ºC(77-86ºF,) though.

isasphere
Mar 7, 2013
What is the proper (or a proper) pencil grip? I've been trying what I find on the internet, but I can already tell that I'll wind up with a blister on a finger if I use them for too long - which is the problem I already had and which I realized was being caused by an improper grip.

The ones that don't feel like they will cause blisters make my hand feel tired after just a few sentences.

Are you supposed to keep your hand off the paper the entire time, for that matter, or is it okay to let it rest against the paper while your write (risking smudging)?

tarepanda
Mar 26, 2011

Living the Dream
Wasn't there a credit card/rewards thread domewhere? Or did it get nuked?

stubblyhead
Sep 13, 2007

That is treason, Johnny!

Fun Shoe

tarepanda posted:

Wasn't there a credit card/rewards thread domewhere? Or did it get nuked?

I found this in BFC, not sure if it's the same one you're thinking of.

b0nes
Sep 11, 2001
When a woman gets proposed to, how is it a surprise? Doesn't the guy have to go size her ring before?

When you are driving and you come to a metered light, and it says "3 cars per green each lane" if you are behind someone who doesn't accelerate fast enough and you get caught in the red, can you get a ticket? it is never enough time for 3 cars to go.

Hoops
Aug 19, 2005


A Black Mark For Retarded Posting

b0nes posted:

When a woman gets proposed to, how is it a surprise? Doesn't the guy have to go size her ring before?
You can just check one of the rings she already has. I've never proposed but I know atleast one of my friends had to get the ring re-sized slightly afterwards, it's not that big a deal in the moment if it's slightly too big. Obviously needs to fit on her finger at the time though.

El_Elegante
Jul 3, 2004

by Jeffrey of YOSPOS
Biscuit Hider
Sometimes the couples pick out a ring together, in which case it's much less of a surprise.

pupdive
Jun 13, 2012
Speaking of credit cards is there a way to get an online one use only credit card number for a purchase?

CzarChasm
Mar 14, 2009

I don't like it when you're watching me eat.

pupdive posted:

Speaking of credit cards is there a way to get an online one use only credit card number for a purchase?

Well that certainly doesn't sound like you're trying to get discreet access to a porn site.

The entire point of a credit card is the fact that you use it multiple times and through responsible spending, build credit. (At least back in the day, that was kind of the idea)

What you can do, is put money on a Gift Card/Credit Card like a Visa Gift Card. You can use it online, but you have to register it through their site so you have an address to verify at the time of purchase.

haveblue
Aug 15, 2005



Toilet Rascal
Actually, some providers let you make a temporary number based on your real credit card. Citibank calls it a "virtual account number", I don't know what terms the others use.

The Citibank ones let you set dollar and time limits on the virtual numbers, so you can give them to porn sites slightly untrustworthy merchants without also giving them the ability to max out your card if your fears are realized. I think they even do some kind of tracking behind the scenes so that only the one merchant you give them to is allowed to charge against it. Your porn purchases show up on your normal bill just as if you had used the main card.

Fork of Unknown Origins
Oct 21, 2005
Gotta Herd On?

b0nes posted:

When a woman gets proposed to, how is it a surprise? Doesn't the guy have to go size her ring before?


It varies from couple to couple; sometimes the woman knows ahead of time and they buy the ring together, sometimes it's a complete surprise and the guy either guesses or looks at something else she owns. Or asks one of the girl's friends.

haveblue
Aug 15, 2005



Toilet Rascal
You can bring up the ring size when you ask the father for her hand in marriage.

Kimmalah
Nov 14, 2005

Basically just a baby in a trenchcoat.


Fork of Unknown Origins posted:

It varies from couple to couple; sometimes the woman knows ahead of time and they buy the ring together, sometimes it's a complete surprise and the guy either guesses or looks at something else she owns. Or asks one of the girl's friends.

It's also possible to just get the ring resized later if for some reason you can't find out and absolutely want it to be a surprise.

tarepanda
Mar 26, 2011

Living the Dream
Guys who propose without having discussed it with their girlfriend previously are complete idiots.

Fork of Unknown Origins
Oct 21, 2005
Gotta Herd On?

tarepanda posted:

Guys who propose without having discussed it with their girlfriend previously are complete idiots.

It depends on the girl. Some would prefer to be surprised. It's a decent idea to have a conversation about her expectations in that regard when the relationship starts getting serious though. I never discussed it with my wife (beyond very early on in the relationship her telling me I was not to ask her dad if we got to that point) and she'd much rather it went down how it did than us sit down and talk about it.

Adbot
ADBOT LOVES YOU

tarepanda
Mar 26, 2011

Living the Dream

Fork of Unknown Origins posted:

It depends on the girl. Some would prefer to be surprised. It's a decent idea to have a conversation about her expectations in that regard when the relationship starts getting serious though. I never discussed it with my wife (beyond very early on in the relationship her telling me I was not to ask her dad if we got to that point) and she'd much rather it went down how it did than us sit down and talk about it.

Definitely -- I didn't mean plan out the proposal and all, but just approach and talk about the idea of marriage.

Every single guy I know who was shot down proposing proposed blind.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply