holmedwa04
-
Posts
743 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by holmedwa04
-
-
Cant he just use <center>Text Blah blah blah</center> ?You need to use CSS. Instead of this:align="center" Do one of these, depending on the situation:style="text-align: center;" aligns the content inside of a containerstyle="margin: 0 auto;" aligns an object inside of it's parent container -
PDF's
in HTML/XHTML
Hi, does anyone know how to make a PDF document actually show when you click a link, without opening Adobe Reader. Just show it in the same browser window?
-
You could use this, but this doesn't allow you to use pictures, it just allows you to change the colours. And also it only works in IE apperently?looking for a tip on how this guys custom scroll bar was made? i looked at the source code and i'm assuming it has to do with the SPAN tag somehow, anyone know an easy way to do this for a slightly amateur coder? maybe point to a tute or something?body { scrollbar-3dlight-color:#000000; scrollbar-arrow-color:#FFFFFF; scrollbar-base-color:#000033; scrollbar-darkshadow-color:#000000; scrollbar-face-color:#000066;scrollbar-track-color:#000099; scrollbar-shadow-color:#000033; }
-
Thanks, I never thought of that!Here you go, the old classic http://www.w3schools.com/dhtml/tryit.asp?f...trydhtml_menu10If your a css nut then just replace the tables with lists -
I dont sopose you could upload a demo, so we could see what it looks like?
-
Valign
in HTML/XHTML
I though valign was usually in the middle, but when the images were not linked, it showed the little crosses, and I thought that they might be in the middle, but they were not. Anyway I have fixed it now, and the slight problem with the colours is fixed now aswell.Left middle alignment is actually the default for a table. If you're ever in doubt, put a border around the image to be able to see for sure how big the gutters are. -
I thought it might have been something like that, but im really sorry, I couldn't be bothered to check all of the codes!Yea, I fixed it. It was just a brain dead moment where I didn't see the very simple problem. heh. There were a couple nbsp;'s out of place. -
The colour chart I have has the RGB values aswell so, yeh thanksIf you would use msPaint, you can't check what hexcode a certain color is, unfortunately. Other programs though. But with paint you do can check what RGB() value you could use, those are also allowed online. So you would not need to download a certain program to check a color to match backgrounds, paint can do it already -
Yeh, that has worked thanks!try changing your background color to#C0C0C0I took a screenshot, and that is the color that is in the image.
Yeh probally, but Cronthenoob has fixed it for me. I thought CCCCCC was part of the 256 colours anyway?The image editor is probably only saving a limited number of colors, or it is using a websafe palette or something like that. That image is 650x650 and saved as a gif, which only supports 256 colors, so it might be approximating. But there is probably a setting in your image editing program to choose which palette to use when exporting. What program are you using? -
It seems to me to be fixed now.
-
When I set the background for a cell to CCCCCC, and then I set the background of the actual image on an image editing program to CCCCCC, when I look at the image in the cell, there is a difference in colours. Why do you think this is.This is the page herePlease can you help me, because it is really bugging me!
-
Valign
in HTML/XHTML
Its alright now, I think it was because I was linking to images that were not even there, and so when I made them, it aligned them correctly.
-
No, I think they mean menus the will drop down when you hover over a link.
-
No problem, im always willing to help, and estatic (well maybe not, wrong word) when I have actually helped someone!Right. I've removed the size parameters, and the page still looks OK. Still a mystery why the page did not display the photos when I used height. Anyway, problem solved for these pages and validation.Thanks. -
Valign
in HTML/XHTML
No, it stiill doesn't seem to be working, is it because I am using align="center" aswell? Here is the code:<td valign="middle">Should vertically center everything in that cell.Don't know why its not working<table border="1" width="100%"><tr><td align="center" valign="middle"><img src="logos/25translogo.gif"></td><td><img src="logos/40translogo.gif"></td><td><img src="logos/50translogo.gif"></td><td><img src="logos/60translogo.gif"></td></tr><tr><td bgcolor="gray"><img src="logos/25greylogo.gif"></td><td bgcolor="gray"><img src="logos/40greylogo.gif"></td><td bgcolor="gray"><img src="logos/50greylogo.gif"></td><td bgcolor="gray"><img src="logos/60greylogo.gif"></td></tr><tr><td bgcolor="black"><img src="logos/25blacklogo.gif"></td><td bgcolor="black"><img src="logos/40blacklogo.gif"></td><td bgcolor="black"><img src="logos/50blacklogo.gif"></td><td bgcolor="black"><img src="logos/60blacklogo.gif"></td></tr></table>
-
-
Valign
in HTML/XHTML
It doesn't seem to vertically center the image, is it because is is part of a link?in the <td> tag you should just be able to putvalign="top" valign="botton"orvalign="middle"Edit: accidently put center instead of middle. -
You might be able to change the percent, im not sure, try it. No I am saying that you can use either width or height, because it will keep the aspect ratio. Only unless you want to change the aspect ratio, do you use both. And no, the size parameter can go in any order, and wherever, as long as they are insde the < >.Do the size parameters have to go in front of the image source tag? Does it have to be in pixels? % is much easier. Counting pixels is not my idea of fun!Presumably if you wish to change the aspect ratio, then both height and width can be used to do this? -
When changing the size of an image use this code:<img height="pixels" width="pixels" src="mypic.gif">You can use either height or width, because it keeps the same aspect ratio, but you can use both if you like.I validated pages with photos, displayed in tables. Each photo is set to display at a certain size, with width and height specified. The height was controlled by the <size> tag (forgotten where I got that from) and it worked, but the w3c validator said it was wrong. i substituted <height>, but then the pictures did not show.What should it be?eg of code, which displays rows of three photos, with popups of larger versions if user clicks on them:<table><tr> <td align="center"><a href="popupbasic.html" onClick="return popup('Cards/Greetings_lg/HPIM2380.jpg')"><img src="Cards/Greetings_sm/HPIM2380.jpg" size="100%" width="100%" alt="picture of card"></a></td><td align="center"><a href="popupbasic.html" onClick="return popup('Cards/Greetings_lg/HPIM2381.jpg')"><img src="Cards/Greetings_sm/HPIM2381.jpg" size="75%" width="75%" alt="picture of card"></a></td><td align="center"><a href="popupbasic.html" onClick="return popup('Cards/Greetings_lg/HPIM2382.jpg')"><img src="Cards/Greetings_sm/HPIM2382.jpg" size="75%" width="75%" alt="picture of card"></a></td></tr><tr><td><a href="#topofpage">Go to top</a></td></tr> -
Just wondering, what are flame wars?OK, sorry for my Bad English but could this thread start being IE discussion again? -
Valign
in HTML/XHTML
Now, I know this sounds stupid, but I can't seem to valign an iamge in a table, this is the code:<table><tr><td align="center"><a href="mysite.html"><img src="mypic.gif"></a></td></tr></table>Can anyone help, I have already done the align one, just the valign im having trouble with.
-
Lists
in HTML/XHTML
Will all of the levels have different bullets?as many as you like -
Lists
in HTML/XHTML
How many different levels can you have?
-
Lists
in HTML/XHTML
Ok, so do I need to put a doctype and typeset or whatever on all of my pages?If so what will they look like and how will I make them?
PDF's
in HTML/XHTML
Posted