Rank: Member
Joined: 2/25/2008(UTC) Posts: 111
|
Can anyone tell me the id's for product grids that get rid of the border?
|
|
|
|
Rank: Member
Joined: 2/25/2008(UTC) Posts: 111
|
It is resolved, in case anyone else needs to know: /*image on product grid on home page column 2 -this is where you take the border off!!! dovid*/
#ctl00_MainContentHolder_ContentColumnControl3_ctl00_DataList1_ctl00_imagesmallxwidth120pxpadding-left100pxtop0pxborder0px
#ctl00_MainContentHolder_ContentColumnControl2_ctl00_DataList1_ctl00_imagesmallxwidth120pxxpadding-left100pxpadding-top0pxborder0px
#ctl00_MainContentHolder_ContentColumnControl2_ctl00_DataList1_ctl01_imagesmallxwidth120pxxpadding-left100pxpadding-top0pxborder0px[2]} [/2]
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
That isn't an ideal solution, because those .Net-generated IDs are probably going to change.
Look for the class and use the cascade, which will take care of all of them. Something like .productgrid a img { border: none; }, or img { border: none; } to make it global at the top of your stylesheet and change it on a case-by-case basis lower in the cascade.
When pasting examples, try to leave out your xcomments (xwidth, xpadding, etc.). It doesn't pertain to the example and could be confusing for new users who later wonder why their work isn't validating. ;) |
|
|
|
|
Rank: Member
Joined: 2/25/2008(UTC) Posts: 111
|
Thank you, that worked for ie but not firefox. And what is the id for homepage column 2 product grid; .productgrid a is column 3
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Post a screenshot of what you see in Firefox.
And what is the id for homepage column 2 product grid; .productgrid a is column 3
Sorry, that makes little sense, can you explain more clearly? Check your page source in your browser and/or use a Firefox plugin such as Firebug; all the IDs and classes are right there in the page. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.