The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML help please
mica
post Jul 1 2008, 01:26 AM
Post #1





Group: Members
Posts: 3
Joined: 1-July 08
Member No.: 6,031



<html>
<head>

<style type="text/css">

body {
padding: 0;
margin: 0;
}

p {
font-family: helvetica;
font-size: 12pt;
font-weight: bold;
}

</style>

<title>Joe blogs</title>
</head>

<body>

Could someone help me please?
I have been trying to create a simple pop-up so that when a player's name is clicked on a small pop-up will appears with a picture of the player and some of the player's details. The problem is when the pop-up is viewed in either Firefox3 or Konqueror and the border value set at "1" the table which contains the pop-up seems to have doubled in height? And even with the border value at "0" when the pop-up is viewed in Konqueror it is surrounded by a big blue box twice the size of the pop-up. Any help or advice is really appreciated.


<div align="center">

<table width="380" height="150" cellpadding="0" cellspacing="0" border="2">
<tr><td valign="top">
<img src="/home/mica/Pictures/0,,10335~2970344,00.jpg" width="110" height="150" border="0" align="top" style="padding-right: 10px">
</td>

<td width="300" height="150" valign="top">
<p>
Name: Joe blogs<br />
Nationality: unknown<br />
Date of Birth: 21/01/1987<br />
height: 6' 0"(183cm)<br />
Weight: 11st 7lbs(73.09kg)<br />
Position: Midfielder<br />
</p>
</td></tr></table>

</div>

</body>
</html>

This post has been edited by mica: Jul 1 2008, 01:29 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2008, 09:14 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Could you link to a page where we can see this in action?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mica
post Jul 1 2008, 10:45 AM
Post #3





Group: Members
Posts: 3
Joined: 1-July 08
Member No.: 6,031



Hiya Pandy

Sorry to be so slow in replying.
You can see the pop-up Here

Thanks in advance for any help and advice
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2008, 10:53 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Do you mean the height of the table? I though you were talking about the hight of a pop-up window.

In your sample above you use height="150", but in the page you link to the height is set to 250 pixels. I can't see that changes without the border.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mica
post Jul 1 2008, 11:15 AM
Post #5





Group: Members
Posts: 3
Joined: 1-July 08
Member No.: 6,031



Feel like a right fool for missing that! Lol.
Very big thanks Pandy
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jul 1 2008, 11:25 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You are welcome. laugh.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 03:02 PM