Mar 4th, 2006, 12:21 PM
#1
[RESOLVED] Image and border
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 06:08 PM
#2
Re: Image and border
Which part of it is the image in question? Show us that.
Show us more of the html, including the code for the table. If it's a lot of code, highlight the relevant part. Have you set the table's cellspacing too?
Mar 4th, 2006, 06:16 PM
#3
Re: Image and border
Its the right side of the image. The grey vertical line is the bgcolor and should be covered by the image. I did set the cellspacing to 0 also. I'll post more code and the actual image in a sec. Hold on ...
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 06:27 PM
#4
Mar 4th, 2006, 06:31 PM
#5
Re: Image and border
VB Code:
<TABLE id="MainTable" height="100%" cellSpacing="0" cellPadding="0" width="770" align="left" border="0">
<TR>
<TD style="BORDER-RIGHT: #e8e8e8 1px solid; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 8pt; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 160px; PADDING-TOP: 0px; HEIGHT: 12px"
vAlign="top" align="left"><IMG height="12" src="images\corner-topleft-grey.gif" width="160" align="left" border="0"
style="BACKGROUND-COLOR: #e8e8e8"></TD>
[hl=yellow]<TD style="FONT-SIZE: 8pt; HEIGHT: 12px" vAlign="top" align="right" bgColor="#e8e8e8"><img src="images\circle-half-right.gif" align="right" border="0"></TD>[/hl]
</TR>
'...
I'm in a different time zone!
Attached Images
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 06:56 PM
#6
Re: Image and border
Ah yes, welcome to one of the bugs prevalent in your favorite browser.
Use this in the img tag:
style="vertical-align:bottom;"
Mar 4th, 2006, 07:00 PM
#7
Re: Image and border
Oh by the way, specify your font size in PX not PT.
Mar 4th, 2006, 07:12 PM
#8
Re: Image and border
Freaking @#$%! Would you mind explaining this "bug" to me as I have wasted too much time on this stupid part alread.
I have the TD vAligned to the top and now the IMG tag aligned to the bottom. Other the a couple of issue I now can see I should be on my way to the next part.
But THANK YOU for the help so far
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 07:16 PM
#9
Re: Image and border
I'm making a page like this site - http://www.jcxsoftware.com/vs.php?info
Btw, it looks like a good addin.
Compliments of Gigemboy
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 07:18 PM
#10
Re: Image and border
Different browsers have different rendering modes. In IE, the rendering mode is such that when an image is placed inside an element, and since images are by default inline content, IE is now wrapping around the entire area where the image is sitting. This causes a gap to show up top/right/left/bottom because all inline content has a baseline which you simply cannot avoid.
By baseline I mean the space just below the general line of text, because some letters such as y and j and g go below the general line.
Firefox is SMART enough to know that the image needs to be wrapped up.
Mar 4th, 2006, 07:20 PM
#11
Re: Image and border
Originally Posted by
RobDog888
Where does your image come into all this though?
All the corners in that image seem to be of the type topleft, topright, bottomleft, bottomright.
BTW, that is one amazing add-in, I had no idea one existed. VisualAd will be thrilled to hear this.
Mar 4th, 2006, 07:21 PM
#12
Re: Image and border
I thought that was taken care of by the cellpadding or cellspacing, but I guess not.
Thanks
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Mar 4th, 2006, 07:23 PM
#13
Re: Image and border
Yes, I DL'd already but need to get this page finished asap.
I am making a variation of it with a top and left menu "area" that have that trendy rounded look.
See this thread here for the PHP Add-In.
http://www.vbforums.com/showthread.php?t=391008
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width