|
-
Dec 5th, 2008, 09:09 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] align
how can i align a image to center, is it possible or not? if it is tell me how please?
-
Dec 5th, 2008, 09:35 PM
#2
Re: align
You can try:
Code:
<img src="" alt="" align="middle">
or you can keep changing the v space and h space of the image until it is in the center of the page.
or you could wrap the image in div tags than center the div and see if that works.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 6th, 2008, 05:39 AM
#3
Thread Starter
Fanatic Member
Re: align
doesnt work.
well i found out how to:
<HEAD>
<TITLE></TITLE>
<STYLE type="text/css">
BODY {text-align: center}
</STYLE>
<BODY>
<img src="http://www.vbforums.com/image.php?u=25658&dateline=1094028584" alt="" align="middle">
</BODY>
this aligns all BODY to center, but its possible to rename it.
Last edited by Justa Lol; Dec 6th, 2008 at 06:01 AM.
-
Dec 6th, 2008, 05:58 AM
#4
Re: align
 Originally Posted by Justa Lol
doesnt work.
Did you try the other suggestions?
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 6th, 2008, 06:02 AM
#5
Thread Starter
Fanatic Member
Re: align
i needed it to be center, no spaces or stuff... center of screen only.
-
Dec 6th, 2008, 06:05 AM
#6
Re: align
Did that resolve your problem? If so please mark your thread "Resolved".
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 6th, 2008, 06:11 AM
#7
Re: align
Hi there Justa Lol,
try it like this...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
#myimage {
width:64px;
height:64px;
display:block;
margin:auto;
}
</style>
</head>
<body>
<div>
<img id="myimage" src="http://www.vbforums.com/image.php?u=25658&dateline=1094028584" alt="">
</div>
</body>
</html>
~ the original bald headed old fart ~
-
Dec 6th, 2008, 06:15 AM
#8
Thread Starter
Fanatic Member
Re: [RESOLVED] align
i thought i hit resolved... lol... sorry.
-
Dec 6th, 2008, 06:17 AM
#9
Re: align
Hi there Nightwalker83,
note that align, hspace and vspace are all deprecated attributes....
...and CSS styling should be used in their place.
Last edited by coothead; Dec 13th, 2008 at 07:12 PM.
~ the original bald headed old fart ~
-
Dec 6th, 2008, 06:04 PM
#10
Re: align
 Originally Posted by coothead
Hi there Nightwalker83,
note that align, hspace and vspace are all deprecated elements....
...and CSS styling should be used in their place.
Ah ok, thanks for the information!
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Dec 6th, 2008, 06:11 PM
#11
Re: [RESOLVED] align
You're welcome. 
~ the original bald headed old fart ~
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|