Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Can some one explain this? I have the following at the top of my page

 

 

<table height="61" cellSpacing="0" cellPadding="0" width="100%" align="center" bgColor="#ffffff" background="graphics/ban_back.gif" border="0">

<tr>

<td background="graphics/ban_back.gif">

<div align="center"> <IMG height="61" src="graphics/logo_ban.gif" width="760">

</div>

</td>

</tr>

</table>

 

and everthing looks great but one I insert the link to the stylesheet

<link href="styles.css" type="text/css" rel="stylesheet">

 

It shoves the img down and it looks horrible.

  • Moderators
Posted

You can: Remove the Table and TD tags from the CSS

or: Add a new Class attribute to each of your tags in your aspx page. (with or without its' elements in the CSS) In other words if you speficy a class that does not exist in the CSS then no harm the existing tags will not be altered.

Visit...Bassic Software
Posted
Well I spoke too soon. It did fix my original problem but if the page contains a crystal viewer it does the same thing I mentioned before even if there's not a stylesheet linked.
  • Moderators
Posted

The default sheet created for each asp project may not be suitable for everyone.

You should really remove all the generic style that you don't use from the styles.css and only keep the one you intent on using.

Visit...Bassic Software

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...