Web Forms :: Recommendation For Specifying Font-sizes In A Page?

Apr 16, 2010

I have questions relating to specifying font-sizes in web page.Is it ok to specify it as style='font-size:12px' or style = 'font-size:14pt' or there is a better way to do this? I want to be sure that I get a uniform cross-browser solution to font-sizes.

View 2 Replies


Similar Messages:

VS 2010 - Font Sizes In HTML

Nov 10, 2011

We are sending html-based emails out to customers. This is a stripped-down version of it:

Code:
<table border="1" cellspacing="0" cellpadding="4">
<!-- Get the items here -->
<tr bgcolor="ddddee">
<td align="left"><strong>1</strong></td>

[Code] ....

I have this code in an html file and I can view it in IE. There are eight columns, and currently one row that just has a value of One in column 1, Two in column 2, etc.

So a customer is currently receiving an email with these eight columns. He wants a ninth column called "Special Instructions". It can be free-form text and therefore rather lengthy. The customer wants to make all the text smaller to accomodate the new field. How would this be accomplished? How does it know what font to use now?

View 4 Replies

AJAX :: HTML Editor Font Names & Sizes?

Feb 13, 2011

How do I load Font Names & Font Sizes into the HTML Editor? I've got them in the toolbar using a custom class, but both are only showing 'Default'.

View 8 Replies

VS 2010 - Incorrect Font Type And Sizes As Well As Objects That Are Not Correctly Aligned

May 2, 2013

My published site's pages appear to be unformatted, i.e. incorrect font type and sizes as well as objects that are not correctly aligned and of incorrect width when browsing the site with IE10. On my development platform, Windows 7 Professional using Visual Studio 2010 Professional, running in debug mode and also using IE10 the entire site appears perfectly formatted.

I've already confirmed that all CSS files and the relevant connection strings area correct and ensured that the font being used is installed on the hosting platform.I just used my MacBook and browsed the published web site using IE 9, Chrome and Safari - the site displayed and functioned 100%. I repeated the same test using Safari on iOS and again had perfect results. It thus appears that the problem relates to IE10.

View 11 Replies

Web Forms :: Change CSS Font Size And Make Font Bold In DropDownList

Aug 9, 2012

I use this class for my DropDownList

  .DPCDDL {
float:left;
width:200px;
height:20px;
margin-top:1px;
font:bold 12px Tahoma;
}

In my dropdownlist just selected item font be (bold 12px)

I want that all item that are in my dropdownlist font be bold 12px  how i can do it?

View 1 Replies

AJAX :: How To Change The Font And Font Size Of The Data In The Dropdown Of A Combobox

Jan 6, 2010

Is it possible to change the font and font size of the data in the dropdown of a Combobox?

I've tried;

.CustomComboBoxStyle .ajax__combobox_itemlist li {
width: 150px;
font-family:Verdana;
font-size:smaller;
}

and setting the CssClass to it, but doesn't affect the font. I can adjust the width of the dropdown object, but I need to change that gawd awful font.

View 7 Replies

Web Forms :: Possible To Restrict Folder Sizes With Windows?

Jun 30, 2010

I am planning to make a membership-oriented website where users are allowed to upload files to their accounts, which have a limited amount of space.I can surely see a code-oriented solution (with a database holding the size of each file), but I was wondering whether it's possible to restrict folder sizes with Windows or ASP.Net (web.config?). I don't really think it's possible through the web.config,
but I'd still like to ask the community.Does anyone know what's the best way to implement the above?

View 1 Replies

SQL Reporting :: SSRS 2008 - Font And Font Size Changing?

Jun 24, 2010

Just upgraded from SSRS 2005 to 2008 (on a test server). I have a report with a list and in this list are about a dozen fields in textboxes whose fonts are all set to Verdana 8pt. When I run the report from the Report Manager, one of the 12 fields is displaying in a serif font (like Times New Roman) at around 12pt. When I preview the report in Visual Studio every field looks fine and when I run the same report in SSRS 2005 every field looks fine. Has to be a SSRS 2008 bug!

View 3 Replies

How To Use Font.names Property For A Single Label As Font.name Is Already There

Feb 2, 2011

there is two properties under font area for web control What is use of Names as Name set the value of font.

View 2 Replies

Web Forms :: How To Set From Code-behind Of The Master Page Font Size For All GridViews

Jul 2, 2010

Could you tell me how I can set from code-behind of the Master page font size for all GridViews of my application body?

E.g. I have

[code]....

View 18 Replies

Getting Font Metrics From A True Type Font In C#?

May 11, 2010

point me to information regarding getting font metrics from a true type font in C#? I need to split some text from an RSS feed for a given box height and width.

I've checked System.Drawing.Font and GetHeight is there but how do I get the width of a character?

I understand each character is rendered as a glyph but not sure which class will get the width of the character?

View 2 Replies

Recommendation For .NET Webforms Validation Framework?

Mar 4, 2010

I have worked with the .MVC framework using validation frameworks such as xVal or FluentValidation.

Is there anything similar available for webforms as well? I have got a few projects which have to be done using webforms.

What I'm asking for is some kind of integration with the webforms infrastructure. I could just use one of the mentioned frameworks in order to validate the (view/page)models, but I still would have to do a lot of form validation in the page.

View 2 Replies

Asp.net - Open-source CMS (Windows, .NET) Recommendation?

Nov 16, 2010

I am looking for an open source, Windows, .NET based, CMS. I have a few simple requirements:Must run in or be built on the .NET 4 framework Users must be able to automatically authenticate via IIS / integrated windows authentication Must be able to utilize custom pre-built (existing) user controls presented as widgets / web parts / etc. with a minimum of re-coding.I have looked through a handful of open source CMS projects with no luck so far. If anyone knows of a CMS that fits the bill I would really appreciate your insights.

View 4 Replies

C# - Adding Font To A CSS Page?

Jan 18, 2011

I have a font I downloaded and I'm trying to apply that font to my site.

so I simply used font-family but my font isn't there(obviously)

View 3 Replies

Webpage Menu / Navigation System Recommendation?

Feb 1, 2011

Im a newbie working on my first ASP.NET webpage using Visual Studio 2010. Im looking for a recomandation on a flexible webpage navigation/menu system. I need a dynamic system that uses SQL as backend (so that webmaster can update menus/navigation using a simple CMS) Any good systems out there you would recomend?

View 3 Replies

Finding CMS Recommendation - Orchard, Sitefinity, Umbraco Or N2?

Jan 3, 2011

Over the past 3 years I have been using (...shamefully) SharePoint 2007, DNN and Tridion to develop web portals. I am however looking to move off SharePoint and Tridion (lack of control over urls, markup and tdd) and am looking for alternatives.

Which of these would your vote go to and why? Could you share any experiences you have with these:

Orchard
Sitefinity
Umbraco
N2

Although Orchard and Sitefinity seem easily extensible, I am worried about community support.

View 4 Replies

C# - Datagrid Custom Paging With Pages Of Various Sizes?

Jul 13, 2010

I am trying to add paging to my datagrid. This datagrid stores hierarchical data. So the top row has several children rows that need to go beneath it. When a new top row type is going to be added I want to make a new page. This way all related rows will be displayed on the same page. So, I think the tricky part might be making pages with varying sizes. I am not sure how to go about attacking this issue. All of the custom paging examples I have seen still have x amount of rows per page. Like I said my pages have to all be various sizes.

View 1 Replies

C# - Resizing Images On The Fly, Or Storing Different Sizes On Disk?

Aug 12, 2010

I'm building a Web application that will eventually contain a lot of images. These images will need to be displayed in different formats across the site. What would be the pros/cons of the two solutions:

Storing various versions of the picture when they are uploaded (e.g. thumb, small, medium, large, verylarge)
Resizing the image through the URL - e.g. /Content/Image/1?height=300

Edit:I had a really hard time accepting one answer over the other, so for anyone reading this q/a, take your time to read both answers because the accepted answer was selected by the flip of a coin :) They're both equally good.

View 2 Replies

Recommendation For Handling Custom User Properties With OpenID Membership

Jul 12, 2010

I'm using DotNetOpenAuth as my membership system, and the way I have it working now seems to be working quite well. What I'd like to do however is build into my website the ability to check user credentials against the AuthCookie rather than a session. In the membership provider, I can check for the username like this

string UserName = System.Web.HttpContext.Current.User.Identity.Name;
''# which returns the OpenId ClaimedIdentifier

What I'm wondering is if there is a way to extend this so that I can retrieve custom properties from the AuthCookie rather than having to create my own session object. Currently I have this setup.

UserSessionModal
Namespace Domain
Public Class UserSessionModel
Public Property ID As Integer
Public Property RegionID As Integer
Public Property Username As String
Public Property Slug As String
Public Sub New(ByVal user As User)
_ID = user.ID
_RegionID = user.RegionID
_Username = user.UserName
_Slug = Replace(user.UserName, " ", "-")
End Sub
End Class
End Namespace

BaseController (inherited by all controllers)
Protected Overrides Function CreateActionInvoker() As System.Web.Mvc.IActionInvoker
''# Create a UserInfo object for the logged in user
''# and store it in a session state.
If Session("UserInfo") Is Nothing AndAlso User.Identity.IsAuthenticated Then
Dim user As Domain.UserSessionModel = New Domain.UserSessionModel(OpenIdService.GetOpenId(HttpContext.User.Identity.Name).User)
Session("UserInfo") = user
End If
Return MyBase.CreateActionInvoker()
End Function

Then in my views I do something like this

<%
Dim user As MyApp.Core.Domain.UserSessionModel = DirectCast(Session("UserInfo"), MyApp.Core.Domain.UserSessionModel)
%>
<%: Html.ActionLink(user.UserName, "Details", "Users", New With {.id = user.ID, .slug = user.Slug}, Nothing)%>

What I really need to be able to do is remove the Session stuff all together and just simply check the AuthCookie for my custom properties ID, RegionID, Username, and Slug. I can already get the "ClaimedIdentifier" out of the AuthCookie using HttpContext.User.Identity.Name... I just need to be able to extend it.

View 1 Replies

Recommendation For Open-source/free Web Stress Test Tool?

Nov 1, 2010

We have an application that may or may not have problems during heavy load. To try to get more correct usage patterns regarding load, we'd like to just fire up a bunch of users logging in, and then repeatedly just navigating through a list of links (our menu basically.)Is there any open source or free tools we can use? We're not adverse to pay for anything if we need to but right now we are trying a bunch of different things and we'd like to hold off on this until we know a bit more.Of course, some simply Python scripts would do the trick, but if there's anything we could input our links to that saves us a bit of time in this it would be most welcome.

View 2 Replies

Capture Persons Clothes Sizes By Country Versions?

Jun 12, 2010

I need to obtain a persons measurements for wearing clothes, shoes etc such as below.

Neck / Shirt Collar size Trouser length Jacket Shoe size The problem is each size is different for UK, Europe and US versions

So far on a form I have a dropdown list for each measurement item whichs show the selections like

ShoeSize DropDownList
38 eu / 5 uk / 6 us
40 eu / 6uk / 8 us
etc

I then show all the results from each DDL in a gridview which has a column for each item.

Instead of displaying all 3, which takes up space in the gridview, I want to just display one measurement

they have selected such as "40" for shoe size

So do this I guess I want to allow the user to select which country is approaprite before they start the form and then the dropdown lists(Trouser DDL, ShoeDDL, JacketDDL, CollarDDL etc) display the corresponding sizes relevant to that country.

I have in my sql database a table for each measurement item.

View 5 Replies

Visual Studio :: Unable To Completely Change Cell Sizes In Masterpage?

Jan 25, 2011

Using Visual Web Developer 10, I've been re-designing my site. When I attempt to size a table cell down, it smashes all my text in the shrinking cell long before any sides are near the edges. Also, it refuses to size down further, it simply stops. Then, if I take the css formatting out of the smashed text, it fixes it, but increases the size of the table cell! lol.

What good alternative products are there to make my asp.net site or to stop this irritating problem.

View 1 Replies

To Provide The User The Choice To Change The Font Size Of Page Using C# And Css To Any Digit ?

Nov 9, 2010

i have a asp.net aspx page, which references a css file,have the font size defined in css as 2em;

want to give option to user to change this to any value he wishes

irrespective of the bad effect to display format

question, ways to achieve it easily, efficiently and the most simplest way possible

note,way should support all browsers

View 2 Replies

Mobiles :: Web Page Displaying With Small Font In Safari On Ipod Touch

Nov 18, 2010

I had developed mobile web page in asp.net 2.0. This page is displaying with small font in safari on ipod touch and in iphone. for this i had copied iphone.browser definition file in

C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIGBrowsers

folder and run the command aspnet_regbrowsers.exe -i in command prompt. Then 2 files with ASP.BrowserCapsFactory.dll and BrowserCapsFactory.cs are created. But there is no result.

View 3 Replies

AJAX :: The Controls Inside TabContainer Size, Font Size And Location Changing After Page Refresh?

Dec 19, 2010

I am using TabContainer with some controls on each tab (asp: labels, text boxes). When redirecting to the page that contains the TabContainer, the tabs and their content loads as expected, but when there is a postback, and the page refreshes, the TabContainer UI changes - the font size of the labels gets bigger, the text boxes become bigger and their location changes a bit (not aligned as before), and the tab header is partially hidden. I am using IE7.

I dont know if this is relevant but in some of the text boxes i use edit mask extender as well for date. Also, I have used a table inside the TabContainer for layouting the controls.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved