So, I am aware of the problem with how the gridview renders in firefox.
I am unable to get those "light grey" gridlines in FF but they work
fine in IE. In looking at the rendered html, it appears as if the CSS
classes and styles are set at the TR (row) and not the TD (cell).
Moving the styles to the TD element makes it work in Firefox but there
is no way to add CSS classes to the TD element of the GridView.
Are there any work arounds for this? It is really annoying!
Thanks. 2 3190
you should use css inhertance. in your style sheet, setup up your tr class,
then setup one for td under that class. then you only need a td class if you
need an override. you may be able to just use a table class.
<style>
.foo {border=none;}
.foo td {border=gray 1 solid;}
</style>
<table class=foo>
<tr>
<td>row1 col1</td>
<td>row1 col2</td>
</tr>
<tr>
<td>row2 col1</td>
<td>row2 col2</td>
</tr>
</table>
-- bruce (sqlwork.com)
"emde" <em********@yah oo.com> wrote in message
news:11******** **************@ i40g2000cwc.goo glegroups.com.. . So, I am aware of the problem with how the gridview renders in firefox. I am unable to get those "light grey" gridlines in FF but they work fine in IE. In looking at the rendered html, it appears as if the CSS classes and styles are set at the TR (row) and not the TD (cell). Moving the styles to the TD element makes it work in Firefox but there is no way to add CSS classes to the TD element of the GridView.
Are there any work arounds for this? It is really annoying!
Thanks.
Thanks, I ended up figguring something similar last night. I just
wrapped a classed div around the gridview and used inheritance on the
div. I do however like your suggestion, putting the class on the table
(gridview) and using inheritance that way, it's a bit more clean.
Thanks again, hopefully this will help others as well. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Lee |
last post by:
Hello all,
I have an aspx page with a Div that holds a few controls such as
textbox and combo box. I use this same setup on several other pages
with no problem. For one page in particular, the borders around the
div are not rendered correctly and I am having a pickel of a time
figuring out why.
Like so:
|
by: msnews.microsoft.com |
last post by:
Hello everyone., please help. I took the CSS from a DataGrid and applied it
to the GridView. It does not take the CSS settings. Simple settings like;
border: solid 1px black
fails to apply to all the rows and borders of the GridView. I know it works
for a DataGrid, and I haven't seen a GridView capable of drawing all borders
black at...
|
by: Michael Redbourn |
last post by:
Hi,
I just switched from FP to DW and am very very happy !
So whilst I'm mastering Dreamweaver (gonna be a while yet :-) - I
thought that I'd try and find out how to add borders for browers like
Firefox which don't support them.
Not sure if I've explained the above well but my borders display in IE
but not in Firefox.
|
by: David Stone |
last post by:
I have a page containing a table which displays as expected but which,
when printed from either Firefox or Camino, loses some of the vertical
borders between cells in both the table head and body. It does not
do this in Safari, but then Safari also does not include the background
colours when printing. (When I print, I'm missing the borders...
|
by: Stan SR |
last post by:
Hi,
How to remove the border of each row (from the gridview control). ?
I set borderWidth to 0, and the borders are not displayed with IE, but the
top and bottom borders are with FireFox.
Another question, is it possible to use the gridview control without the
generated table, tr and td tags ?
I would like to use css divs..
| |
by: jrnail23 |
last post by:
I have a user control which contains an UpdatePanel, which contains a
MultiView inside, with a GridView in one of the views.
In my GridView, I have a ButtonField which is supposed to trigger a
server-side operation, using the RowCommand functionality.
In IE, this all works great, but in Firefox (v2.0.0.6), clicking the
above mentioned...
|
by: HEX |
last post by:
Have a page developed w/VWD which has a Gridview control. XHTML 1.0 Transitional Doctype. Tested in VWD OK and renders in IE7 as tested. When rendered with Firefox, the Gridview is shifted far to the right. It is set as absolute and it appears Firefox is not doing the position based upon the Left: setting. Fussed with different changes to page...
|
by: =?Utf-8?B?UGhpbCBKb2huc29u?= |
last post by:
Hi,
I have a gridview and I need it to display correctly in Opera.
I need to set the row height, so that even on the last page of data all the
rows are the same height as on the other pages.
In IE and firefox, setting a height in the rowstyle of the gridview and not
setting any height on the grid works really well... exactly what I need.
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Hi misters,
I am using a CssClass to fix the gridview header in ASP.Net 2005(C#),which
is working fine in IE..But not working in Firefox..This is the cssclass which
I'm using right now
WrapperDiv
{
background-image: url(tdbg.jpg);
color: #002F5C;
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |