That way is fine, like you say the reason people say you should include the dimensions is because if you don't the browser has to work it out.
I think there is some rendering fail with old versions of IE too but that is not really something to worry about any more.
Search found 3234 matches
- Tue May 21, 2013 6:19 pm
- Forum: CSS / Styling
- Topic: Image Size Definition
- Replies: 2
- Views: 2932
- Tue May 14, 2013 5:53 pm
- Forum: Code
- Topic: JQuery Chat
- Replies: 6
- Views: 4150
Re: JQuery Chat
I think we trust you enough to make the scan a bit pointless
- Sun May 12, 2013 1:35 pm
- Forum: Suggestions
- Topic: Any more?
- Replies: 4
- Views: 3066
Re: Any more?
Currently being worked on for another site though
- Sat May 11, 2013 8:08 pm
- Forum: Other
- Topic: GET and robots.txt
- Replies: 1
- Views: 1990
Re: GET and robots.txt
Bit late, but you can use wildcards
Disallow: /view_video.php?v=*which most search engine bots should support.
- Thu Apr 18, 2013 3:48 am
- Forum: General Chat
- Topic: Advertising
- Replies: 6
- Views: 7008
Re: Advertising
I honestly don't like how it is the first thing you see here. What you might want to do is put it as a footer on the forum because then you get A LOT of page views :D Or as a "First post separator". I see a lot of forums using that now and it seems to be working. The problem with those is...
- Tue Mar 26, 2013 2:30 pm
- Forum: Introductions
- Topic: Good morning!
- Replies: 2
- Views: 18944
Re: Good morning!
Nice to hear Welcome.
- Tue Mar 26, 2013 2:18 pm
- Forum: General Chat
- Topic: Chrome Maze
- Replies: 4
- Views: 5588
Re: Chrome Maze
Very cool ! Horrifically slow on my netbook though
- Sun Mar 10, 2013 9:06 pm
- Forum: General Chat
- Topic: Advertising
- Replies: 6
- Views: 7008
Advertising
Since I previously said that the website would never have any ads on it and it now does I thought I would take a moment to clarify what happened :P The ads on the main site replace the ads on the YouTube embed videos, so you don't get interrupted mid-video. They will also not be visible to logged in...
- Sun Mar 10, 2013 9:02 pm
- Forum: JavaScript
- Topic: Autoscroll
- Replies: 1
- Views: 2066
Re: Autoscroll
Still <3 self-solving topics.
- Wed Mar 06, 2013 5:58 pm
- Forum: Tutorials
- Topic: big problem,need help..[blog]
- Replies: 5
- Views: 1292
Re: big problem,need help..[blog]
You will need a new table to hold the list of blogs, call it `blogs` for now then you can add a `blog_id` column to the posts table to link each post to a specific blog. The comments are link to the posts so that is not a problem since they will only show up on their posts. You then need to add a UR...
- Wed Mar 06, 2013 5:43 pm
- Forum: PHP
- Topic: Check if a string contains an item in an array
- Replies: 3
- Views: 976
Re: Check if a string contains an item in an array
So you have a string and an array of letters, you want to check if the string contains anything that is not in that array ? If that is correct I would go for a regex approach instead if (!preg_match('#^[ATUGC]+$#', $string)){ // um :( } You could probably do it with some combination of the array_* f...
- Wed Mar 06, 2013 5:38 pm
- Forum: CSS / Styling
- Topic: Height and Width really wonky
- Replies: 2
- Views: 2075
Re: Height and Width really wonky
padding is added to the width do you want to set the width of the #main element to 880px for it to be the same width. For a bit of reading google "css box model"
- Wed Mar 06, 2013 5:33 pm
- Forum: General Chat
- Topic: Cryptocurrencies
- Replies: 23
- Views: 15228
Re: Cryptocurrencies
It's a very interesting idea, I don't like the idea of all that wasted computer time though. That much calculation power could be put to so much better use
- Sat Mar 02, 2013 8:54 pm
- Forum: General Chat
- Topic: "Spam link poster"
- Replies: 3
- Views: 4182
Re: "Spam link poster"
Ironically I found their site on page 8 of Google
- Fri Mar 01, 2013 7:39 pm
- Forum: Suggestions
- Topic: Javascript tutorials
- Replies: 1
- Views: 2626
Re: Javascript tutorials
I did one The problem is that it's hard not to get stuck explaining browser issues :/ But I will think of some
Re: SMS
Never try to make something by combining tutorials. Use information from both to come up with a new separate thing that has all the features you want. If you try to "combine" things you'll end up with a mess.
- Sun Feb 24, 2013 2:09 pm
- Forum: Tutorials
- Topic: blog with BBcodes
- Replies: 3
- Views: 951
Re: blog with BBcodes
I would create a new function for this that converts the BBCode to HTML
function parse_bbcode($input){ // do things return $input; }Then use it before the create post/comment function
$message = parse_bbcode($_POST['message']);something like that anyway.
- Sun Feb 24, 2013 2:06 pm
- Forum: Tutorials
- Topic: Basics: MySQL - MySQLi
- Replies: 4
- Views: 1168
Re: Basics: MySQL - MySQLi
You can use it OO style or procedural style. I prefer the OO version but it is possible to just add an "i" to all the function names.
- Sun Feb 24, 2013 2:04 pm
- Forum: PHP
- Topic: Fatal error exception thrown without a stack
- Replies: 2
- Views: 709
Re: Fatal error exception thrown without a stack
You need a new host !The culprit this entire time was register_globals in the PHP.ini. It was turned off on my local server but it was turned on, on my host.
- Sun Feb 24, 2013 2:02 pm
- Forum: PHP
- Topic: photo gallery
- Replies: 46
- Views: 7751
Re: photo gallery
Basically no. $images is not defined at the point you are trying to use it.Robbedoesie wrote:Am I on the right track to solve this problem, what am I doing wrong here?
- Fri Feb 22, 2013 6:39 pm
- Forum: General Chat
- Topic: How to set up a SMTP in Ubuntu
- Replies: 13
- Views: 6631
Re: How to set up a SMTP in Ubuntu
Please post support questions in a new topic