Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Pic different align in different browsers??
Old 12-03-2011, 05:23 AM Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
I have problem with this code:
<IMG SRC="smilea.gif" align="middle" width="15" height="15">
Page:http://www.astrosport07.webs.com/crocop.html

At the end of page smiley pic in EI is align middle, but in Mozilla Firefox it is align bottom? What to do to fix that in MF? I suppose this is outdated code, so give me new one.

Thanks for your explanation and time.
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-03-2011 at 05:35 AM..
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
 
Register now for full access!
Old 12-03-2011, 05:57 AM Re: Pic different align in different browsers??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
align is a deprecated attribute that defined the horizontal alignment. The allowed values are left|right|center

Quote:
I suppose this is outdated code, so give me new one.
Frightfully sorry but we are not here for you to give orders to!!!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-03-2011, 09:42 AM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Frightfully sorry but we are not here for you to give orders to!!!!!
Of course, you are apsolutely right!

Quote:
align is a deprecated attribute that defined the horizontal alignment. The allowed values are left|right|center
I put "center" but still in MF pic is bottom regarding the text? Do you have another suggestion?
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 09:58 AM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
I found on Internet this code: align="absmiddle" and only when I use it I get what I want=same in EI and MF!
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-03-2011 at 10:01 AM..
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 10:41 AM Re: Pic different align in different browsers??
Physicsguy's Avatar
404 - Title not found

Posts: 919
Name: Scott Kaye
Location: Ontario
Trades: 0
Try playing around with CSS Floats (please google it, I'm on mobile). Also, when you use floats, make sure to clear: them so the other elements in the page flow around it properly.
__________________
Check out my
Please login or register to view this content. Registration is FREE
or my
Please login or register to view this content. Registration is FREE
!
Physicsguy is offline
Reply With Quote
View Public Profile
 
Old 12-03-2011, 10:56 AM Re: Pic different align in different browsers??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
vertical-align is the CSS property you need to use along with display: table-cell on the parent element.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-03-2011, 12:34 PM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Quote:
Originally Posted by Physicsguy View Post
Try playing around with CSS Floats (please google it, I'm on mobile). Also, when you use floats, make sure to clear: them so the other elements in the page flow around it properly.
I found this one:
<img class="floatright" src="smilea.gif" alt="" width="15"
height="15"> I put it on my page and it works! Excellent! Thanks!
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 12:59 PM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Quote:
Originally Posted by chrishirst View Post
vertical-align is the CSS property you need to use along with display: table-cell on the parent element.
I found this it works also:
<img SRC="smilea.gif" style="vertical-align:middle" width="15" height="15">

Thanks for suggestion!
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 02:36 PM Re: Pic different align in different browsers??
Super Moderator

Posts: 1,584
Location: Kokkola, Finland
Trades: 1
btw do you realise how uncomfortable that bold white serif text is to read against a black background?

bold should be used selectively, and try a very light grey on black instead of pure white
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 12-03-2011, 06:27 PM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
Quote:
Originally Posted by davemies View Post
btw do you realise how uncomfortable that bold white serif text is to read against a black background?

bold should be used selectively, and try a very light grey on black instead of pure white
Thanks for pointing that out, I made changes but put gray as background and black fonts. My page is best view in IE. For example I do not know why that text upon pic for example "(Photo:http://www.bloodyelbow.com)" is small in IE as I want to be and is so big in MFirefox which I do not like? How to fixed that? It si about that code:
<font size="-2"><strong><CENTER>(Photo: http://www.bloodyelbow.com) </center></strong></font>
Or is it something about setings in my MF?
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE

Last edited by fensi88; 12-03-2011 at 06:33 PM..
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 12-03-2011, 08:30 PM Re: Pic different align in different browsers??
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 9,007
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
First, the phrase "best viewed in...(insert browser name)" has not been used since 2002 at the latest. And neither has that code. <font> and <center> have been deprecated about that long as well. You just cant use code that's ten years out of date and expect modern browsers to behave. If it's WHAT'S being displayed, use HTML. If it's HOW it's being displayed, use CSS.

Forget the "best viewed in" phrase ever existed. Learn modern coding. We have plenty of links and stickies here to help you do that. This is rather like asking someone developing UFC fighting games why your text game written in BASIC on a Commodore 64 won't work right.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 12-04-2011, 04:26 AM Re: Pic different align in different browsers??
fensi88's Avatar
Experienced Talker

Posts: 33
Name: goca
Location: Srbija
Trades: 0
OK, I got it!
__________________
Greetings,
Goca,

Please login or register to view this content. Registration is FREE
fensi88 is offline
Reply With Quote
View Public Profile Visit fensi88's homepage!
 
Old 01-30-2012, 04:34 PM Re: Pic different align in different browsers??
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by hanibalas View Post
Sorry, but I need 10 posts.
Somebody ban this wanker (tosser for the US)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-30-2012, 06:31 PM Re: Pic different align in different browsers??
vultren's Avatar
Webmaster Talker

Posts: 583
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by chrishirst View Post
Somebody ban this wanker (tosser for the US)
Hahaha! Oh man this is funny! Literally made me laugh! Cannot believe people on this forum.
__________________

Please login or register to view this content. Registration is FREE

I am here to give advice as well as learn.

Please login or register to view this content. Registration is FREE
.
vultren is online now
Reply With Quote
View Public Profile
 
Old 02-04-2012, 03:25 PM Re: Pic different align in different browsers??
kline11's Avatar
SearchBliss Web Tools

Posts: 1,788
Name: John
Location: USA
Trades: 0
Sorry, but I need 1712 posts.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Pic different align in different browsers??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.09516 seconds with 12 queries