[QUOTE=Octave;32878251]margin:auto[/QUOTE]
Where do I put that?
[code]
body{
margin:auto;
}
[/code]
?
[QUOTE=toaster468;32878370]Where do I put that?
[code]
body{
margin:auto;
}
[/code]
?[/QUOTE]
What ever your trying to align center
[editline]20th October 2011[/editline]
make sure you have width set too.
It works, thanks.
[url]http://toaster468.com/login/[/url]
Does anybody else find Sublime's distraction-free mode hard to work with because there's a lack of padding from the top of the screen?
[thumb]http://gabrielecirulli.com/p/20111020-224936.png[/thumb]
I find it very hard to focus on the text at the top because of that.
[QUOTE=TerabyteS_;32878735]Does anybody else find Sublime's distraction-free mode hard to work with because there's a lack of padding from the top of the screen?
[thumb]http://gabrielecirulli.com/p/20111020-224936.png[/thumb]
I find it very hard to focus on the text at the top because of that.[/QUOTE]
I'm even more bothered by the absolute horizontal centering. There's most likely a way to tune it in the myriad of available configuration parameters, but I haven't bothered to look into it yet.
[QUOTE=StinkyJoe;32879224]I'm even more bothered by the absolute horizontal centering. There's most likely a way to tune it in the myriad of available configuration parameters, but I haven't bothered to look into it yet.[/QUOTE]From the docs I found that you can reduce or increase the column width but that's it.
[QUOTE=TerabyteS_;32879365]From the docs I found that you can reduce or increase the column width but that's it.[/QUOTE]
[quote][img]http://i.imgur.com/WxP29.png[/img][/quote]
Didn't find a solution to your problem, but with the following, in [B]Packages/User/Distraction Free.sublime-settings[/B] I fixed my problems:
[code]{
"line_numbers" : true,
"gutter" : true,
"draw_centered" : true,
"wrap_width" : 120,
"word_wrap" : true,
"scroll_past_end" : true
}[/code]
[QUOTE=TehWhale;32877994]xenForo is obviously better[/QUOTE]
Don't you mean xenFouro?* I used to use it. vB is better imo.
I've finaly cracked proper scaling on relative divs. :hover selectors will work okay for a mobile friendly dropdown menu, right?
[t]http://puu.sh/7iZ9[/t]
[t]http://puu.sh/7j00[/t]
[QUOTE='[NUKE] Snipe;32879668']Don't you mean xenFouro?* I used to use it. vB is better imo.[/QUOTE]No, I mean [url=http://xenforo.com/]xenForo[/url]. If you've used vBulletin and xenForo, vBulletin doesn't even come close.
[QUOTE=StinkyJoe;32879465]Didn't find a solution to your problem, but with the following, in [B]Packages/User/Distraction Free.sublime-settings[/B] I fixed my problems:
[code]{
"line_numbers" : true,
"gutter" : true,
"draw_centered" : true,
"wrap_width" : 120,
"word_wrap" : true,
"scroll_past_end" : true
}[/code][/QUOTE]That looks quite good, but the text touching the top is still very bothering. I hope they add something for that in the future.
I like sublime text but I always find myself using notepad++ D:
[QUOTE=jaybuz;32880122]I like sublime text but I always find myself using notepad++ D:[/QUOTE]
Take the plunge, brohomie. I'll help you set it up nicely if you want.
[QUOTE=jaybuz;32880122]I like sublime text but I always find myself using notepad++ D:[/QUOTE]
I've really tried to like notepad++ but those tabs on it look awful.
[QUOTE=Fatal-Error;32880922]I've really tried to like notepad++ but those tabs on it look awful.[/QUOTE]
What do you use instead? I certainly don't use Notepad++ for the looks, it's just an insanely useful application.
I've set up two commands for minifying my JS and CSS using these:
[code]
java -jar "X:\Program Files (x86)\Notepad++\JScompiler.jar" --js "$(FULL_CURRENT_PATH)" --compilation_level SIMPLE_OPTIMIZATIONS --js_output_file "$(CURRENT_DIRECTORY)\$(NAME_PART).min.js"
[/code]
and
[code]
java -jar "X:\Program Files (x86)\Notepad++\yuicompressor.jar" "$(FULL_CURRENT_PATH)" --type css -o "$(CURRENT_DIRECTORY)\$(NAME_PART).min.css"
[/code]
Can sublime do this? I use these regularly
[PHP]<html>
<head>
<title>Computer Viruses</title>
<!--apply style sheet rules to the document-->
<style type="text/css">
h1 {color: #FF0000; text-align: center}
p {font-family: Georgia, "Times New Roman", Times, serif; font-size: 16 px; line-height:18 px}
ul {font-family: Georgia, "Times New Roman", Times, serif; font-size: 14 px; line-height:18 px}
ol {font-family: Georgia, "Times New Roman", Times, serif; font-size: 14 px; line-height:18 px}
<h4 {text-align:right}
</style>
</head>
<body>
<h1>Computer Viruses</h1>
<hr>
<p>A computer virus is a program that is loaded onto the computer without the user's knowledge. Computer viruses have vary effects, such as:<br>
displaying annoying messages<br>
causing programs to run incorrectly<br>
erasing the contents of the hard drive</p>
<p>In order to protect against viruses:
<p><img src="COMPUTER.png" height="150", width="150">
<br>
<li>install an antivirus program</li>
<li>update antivirus definitions on a regular basis</li></p>
</body>
</html>[/PHP]
Still yet to add a table to display most common viruses and add several more ways to protect against viruses.
(School project, simple HTML) [Soon, I would be taught JavaScript and eventually C++]
[QUOTE=Dotmister;32881065]What do you use instead? I certainly don't use Notepad++ for the looks, it's just an insanely useful application.[/QUOTE]
Sublime text, looks great and works brilliantly.
Hey joe, how do I stop MySQL errors when people use apostrophes?
PDO
[QUOTE=toaster468;32882500]Hey joe, how do I stop MySQL errors when people use apostrophes?[/QUOTE]
[url]http://php.net/manual/en/book.pdo.php[/url]
stinkyjoe you really need to write that tutorial
[QUOTE=Ac!dL3ak;32882587][url]http://php.net/manual/en/book.pdo.php[/url]
stinkyjoe you really need to write that tutorial[/QUOTE]
Is it bad I that understand none of this?
EDIT: Apostrophes can go fuck themselves.
Look at the examples: [url]http://www.php.net/manual/en/pdostatement.execute.php[/url]
[QUOTE=Ac!dL3ak;32882587][url]http://php.net/manual/en/book.pdo.php[/url]
stinkyjoe you really need to write that tutorial[/QUOTE]
I could do one.
[img]http://i.imgur.com/QV3bZ.png[/img]
i am the law
[QUOTE=Known Havok;32882804]I could do one.[/QUOTE]
Meh, I'm trying my hand at one right now
[QUOTE=Ac!dL3ak;32883627]Meh, I'm trying my hand at one right now[/QUOTE]
Accidentally made the thread with no content, sorry about that (everyone).
Somebody was talking to me while I was creating it and pressed submit instead of preview
I haven't forgotten about it, either:
[img]http://i.imgur.com/VnbBD.png[/img]
[editline]21st October 2011[/editline]
I just keep getting distracted by all these cats on reddit!
What's that color scheme and font?
[QUOTE=jaybuz;32880122]I like sublime text but I always find myself using notepad++ D:[/QUOTE]
Learn vim be insane
Sorry, you need to Log In to post a reply to this thread.