Is there a way i can edit the attachment page on wordpress theme i want my picture to be in full size and add some banners at the top am using `Bussinesx Front Page` Theme

Member Avatar
Member Avatar
+0 forum 5

Hello, I am trying to write css code that would fill the whole code of width. http://www.innovation.web.id/ Do know how to make my navigation bar and footer bar fill the whole width of the web browser? or adjust to any web browser size without horizontal scroll? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 3

Hi all, I have a HTML video within a div that is 100% width of the page. I want the video fill the container and crop the height to fit. But so far I cannot get the video to expand at all! I'm simply using: .video { width:100%; } and <div class="main-content"> <video class="video" autoplay loop"> <source src="/wp-content/themes/StrongLinks/video.webm" type='video/webm'/> <source src="/wp-content/themes/StrongLinks/video.mp4" type='video/mp4'/> </video> </div> Can someone explain why the video object isn't obeying the 100% width command?

Member Avatar
Member Avatar
+0 forum 5

Hi, In use WordPress with the theme twenty thirteen. I have empty spaces when I check my site in desktop, so I want to use width of 50% In style.css I changed for .site the width to 50% instead of 100% and it worked great in the desktop, but when I checked my site in mobile it also changed the width to 50% I want the desktop version of my site to be 50% width, but the mobile version to still be 100% I also added: .site { width: 50%; } to all @media besides @media (max-width: 359px) which is …

Member Avatar
Member Avatar
+0 forum 2

How can I find the width of a command line window from a GNU C++-program ? I'll use this information to display a progress bar when copying files, so I need to know the width to be able to display the progress bar correctly.

Member Avatar
Member Avatar
+0 forum 4

I need to find the largest height & width values in a directory. I've tried to use: if ($handle = opendir('path/to/image')) { while (false !== ($file = readdir($handle))) { if (preg_match('/(jpg|gif|png)/', $file )) { $images[] = $file; list($width, $height) = getimagesize('path/to/image/'.$file); $max_w = max(array($width)); $max_h = max(array($height)); } } closedir($handle); } `$max_w` returns the last image in an arrrays size, as it does in a foreach statement. This works: `$max_w = max(array(135, 100, 150, 101));`, but it reads as a string above. How do I get the width into an array so I can get the max value?

Member Avatar
Member Avatar
+0 forum 6

I am trying to get the width and height of the uploaded html file. This is what i have done so far. WebBrowser wb = new WebBrowser(); int ht,wd; wb.Navigate("D:\\page1.HTM"); ht = wb.Height; wd = wb.Width; But the above code always return me the wrong size of the page. Can anyone help me to get the exact page size in the c# environment? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 2

Hello, I have a few links that I have given a relative position. They have the widths set to 200px, however they do not follow this at all and only have the width wrap around text. When they had the position of float, they followed the width rule of 200px. I have no idea why they are not following the width rule, here is the CSS ul a{ background:rgba(0,0,0,.4); font-size: 15px; position:relative; height:50px; left:0px; color:#FFFFFF; width:200px; padding:2px; margin:0px; padding-right:15px; padding-left:20px; margin-left:-40px; font-family:"Arial Black", Gadget, sans-serif; text-decoration: none; text-shadow: 3px 3px 3px #333; } Thanks for looking! This is the HTML …

Member Avatar
Member Avatar
+0 forum 1

I have a simple imagebutton in Visual Studio 2010 / c# / .NET framework 4.0: asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/mypic.jpg" Width="400px" IE10 / Windows 8 shows the picture in the original size (width 200 px) and ignores the specified width (400 px). All other browsers behave as expected, but IE 10 doesn't. I tried resizing an simple image (not being a button) asp:Image; that works fine in IE 10. Can anybody help me to solve this problem? Thanks in advance! Sushmaja Arumalla

Member Avatar
Member Avatar
+0 forum 9

I'm having an issue with the footer width on a website. On computer screens, the footer fills to 100% as it should, but on mobile devices (tested on both I-Pad & iPhone) it doesn't fit the entire width of the screen. The issue can be viewed here: [Click Here](http://grhomesllc.com/) The main footer css is: #footer { position: relative; bottom: 0px; width: 100%; height: 75px; margin-top: -75px; clear: both; background-color: #555555; margin: 0 auto; } If anyone has any advice, it would be greatly appreciated!

Member Avatar
Member Avatar
+0 forum 4

Hi, I need to fit the website width to the screen width and when I zoom out the browser, I don't want the website width to stretch on left and right. I am using the Javascript now to assign the website width the value of window.screen.width, but I faced problem with IE7 and IE8 that when I zoom out or zoom in the window, then the value of window.screen.width will change. I am looking to make something like this website: http://ca.com please try to zoom out and see the website will not stretch on left and right. Would appreciate your …

Member Avatar
Member Avatar
+0 forum 1

The title says it all. I have looked all over and can't find a solution. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <style type="text/css"> body, html { width: 100%; height: 100%; margin: 0; padding: 0; overflow:hidden; position:relative } </style> <title></title> </head> <body bgcolor="#000000" text="#FFFFFF" link="#9690CC" vlink="#FFFF0F" style="width: 100%; height: 100%"> <form id="form1" runat="server"> <div style="height: 100%; width: 100%;"> <asp:GridView ID="GridView1" runat="server" PageIndex="1" align="center" Font-Size="X-Large" BackColor="Black" CellPadding="5" ViewStateMode="Enabled" Width="100%"> </asp:GridView> </div> </form> </body> </html> The width works just fine. I removed scrolling because I do not want people to scroll down I want this to just sit a screen at 100% because the gridview …

Member Avatar
Member Avatar
+0 forum 1

Im developing application using ASP.net + VB.net Now i want to change column width at run time. But in run time it doesn't work. This is what i did up to now. data bind in form load like this. myGrid.datasource = myDataSet.table(0) myGrid.databind() In here dataset come properly. in grid data bound event If e.Row.RowType = DataControlRowType.Header Then Dim cell As TableCell = e.Row.Cells(1) cell.Width = New Unit(200) 'I added "200px" instead of 200. But it didn't work. cell.text = "abc" 'This is working. It is show the header as abc end if in above code i added (as an …

Member Avatar
Member Avatar
+0 forum 2

I have a problem with vb.net tabcontrol in so far as I cannot change the individual tab widths. I can chang ethe sizecontrol to fixed and alter all of the tabs but not individually. Ordinarily it would not be a problem with the tabs autosizing by the text size, but I have sometimes in my programme tabs with no content which I would like to hide, this I thought would be easy as just give it no name, but the tab remains and the size seems to have a minimum which is too big. So to summerize. I want to …

Member Avatar
Member Avatar
+0 forum 9

I am trying to make this table behave. I want it to stay within 80% of the page. I want each column to be a fixed width. I want it to show all without scrolling right. Its fine if it gets super long. I also want the title bar, with the column names... to always be on top, maybe they call that floating.. idk Can someone PLEASE help me clean this up ? Below is the CSS file... body { margin:10en; padding:0; height:100%; width:80%; text-align: center; margin-left: auto; margin-right: auto; } #container { min-height:100%; position:relative; height:100%; } #header { background:#009900; …

Member Avatar
Member Avatar
+0 forum 3

I would like to know why the content section is taking more width in my design page? Here is my CSS code : body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color:#414141 } p { padding-left: 10px; padding-right: 10px; } #wrapper { width: 100%; min-width: 100%px; max-width: 100%px; margin: 0 auto; } #headerwrap { width: 100%; float: left; margin: 0 auto; } #header { height: 75px; margin: 5px; } #navigationwrap { width: 100%; float: left; margin: 0 auto; } #navigation { height: 100%px; background: #CFCFCF; border-radius: 10px; border: 6px solid #707070; margin: 5px; } #contentliquid { float: left; width: …

Member Avatar
Member Avatar
+0 forum 12

hi! it's been long since the last time i was here! but here am back with a problem. am doin a webpage and i want it to perfectly fit on the screen. i have used a body width of 100% but it create scroll bars. i want a perfect one like that of facebook or daniweb. please help right away, thanks.

Member Avatar
Member Avatar
+0 forum 7

I'm quite new to Javascript but thought that I should challenge myself to use it to solve an old problem of mine. I'm trying to set the height of a div to the same as the width of it. Example: The width is set to 50% and the screen is 1000px wide, the element will be 500px wide. I want the height to be the same; 500px. I tried to achieve this using this Javascript code: var layer=document.getElementById('layer'); var layer_width=layer.width(); layer.style.height=layer_width; The width of 'layer' has been set to 50% in CSS. The height is unaffected however. What am I …

Member Avatar
Member Avatar
+0 forum 1

I am reading from a file and creating two lists, then sorting them after sorting I am trying to compare each elements number of occurances in a list but printing them with that number for example if a list is something like {1,2,3,3,3,5,5,5,6} then I want to print a report like 1 count =1 2 count =1 3 count = 3 5 count = 5 6 count =6. this is what I have so far just one small thing I need to get it done. def main(): data = open("Iris.csv",'rU') petalWidths = [] sepalWidths = [] for line in data: …

Member Avatar
Member Avatar
+0 forum 9

[ICODE]#include <iostream> using namespace std; void GetRoomTiles(int WidthFeet, int WidthInches, int &TotalWidth, int LengthFeet, int LengthInches, int &TotalLength, int TileSize, int &RoomTiles); void GetTotalTiles(int RoomTiles, int &TotalTiles); void GetNumberOfBoxes(int TotalTiles, int TileBoxes, int &ExtraTiles, int &NumberOfBoxes); int main() { int NumberOfRooms; int TileSize; int WidthFeet, WidthInches, TotalWidth; int LengthFeet, LengthInches, TotalLength; int RoomTiles, TotalTiles; int NumberOfBoxes = 0; int TilesBoxes = 20; int ExtraTiles = 0; ExtraTiles++; cout << "Enter the number of rooms needed for tiles:"; cin >> NumberOfRooms; if (NumberOfRooms <= 0) cout << "Please re-enter a positive value greater than 0." << endl; TileSize = -1; cout …

Member Avatar
Member Avatar
+0 forum 1

My name is Leonard Norwood Jr. If anyone knows a program that will estimate the number of boxes of tile needed for a job. A job is estimated by taking the dimensions of each room in feet and inches and converting these into a multiple of the tile size (rounding up any partial multiple) before multiplying to get the number of tiles for the room. A box should have 20 tiles, so I need to divide the total number needed by 20 and rounded up to get the number of boxes (they are square). Here is what I have so …

Member Avatar
Member Avatar
+0 forum 8

Actually I am having a problem with the content width where the content is a link. Here is the shorten code of it: [CODE]<!DOCTYPE> <html> <head> <style> #main{ width:100px; background:cyan; } </style> </head> <body> <div id = "main"> <a href="#">This is a very long long one.... hahahahahahhahaha</a> </div> </body> </html>[/CODE] by using this, the outcome will show that the link hahaha.... will be overflow. Any idea on how to made the overflow link go to another new line?

Member Avatar
Member Avatar
+0 forum 1

Uhm. Well i am really not well equipped with jquery knowledge therefore giving me the complete code would be the solution. =] The function will be 1.get the 70% width of the browser's screen. 2.convert that width into its corresponding px value 3.set the max width of the #mainContainer using the value got from the conversion/calculation. Need help thanks. here is the css style for the container i want to set max-width with. [CODE] #mainContainer { background-image:url(bg3.jpg); background-repeat:repeat; background-color:#999; width:70%; padding:0; min-width:940px;/* 940px absolute value of 70%. * margin:0 auto; min-height:100%; /*serves as a divider from content to the main …

Member Avatar
Member Avatar
+0 forum 2

Hi there, is there any way to adjust the width of outer div automatically? e.g.[CODE]<div class="outer"><div class="inner">test</div></div>[/CODE] What I want is that the width of outer could be set automatically according to the content of inner so that I do not have to set the value by myself.

Member Avatar
Member Avatar
+0 forum 9

Hi guys, This one is a bit out of left field but someone somewhere must have tried this before. Does anyone out there know how to control the width of the filepath textbox in a fileupload control? I have a form with a comment textbox, a filetype dropdown and a fileupload control I want the comment textbox, the dropdown and the textbox part of the fileupload to all be the same width and line up together on my form but the width property of the fileupload control sets that of the whole control (Textbox and browse button) I tried setting …

Member Avatar
Member Avatar
+0 forum 3

Hi all! I have a little problem here, I would like the width function in cout applied to all the sucesive outputs. However, it is only applied to the next output only, I mean, with this code I get 0:00:10:20:30:4 1:01:11:21:31:4 2:02:12:22:32:4 3:03:13:23:33:4 4:04:14:24:34:4 5:05:15:25:35:4 6:06:16:26:36:4 7:07:17:27:37:4 8:08:18:28:38:4 9:09:19:29:39:4 and I would like 0:0 0:1 0:2 0:3 0:4 1:0 1:1 1:2 1:3 1:4 2:0 2:1 2:2 2:3 2:4 3:0 3:1 3:2 3:3 3:4 4:0 4:1 4:2 4:3 4:4 5:0 5:1 5:2 5:3 5:4 6:0 6:1 6:2 6:3 6:4 7:0 7:1 7:2 7:3 7:4 8:0 8:1 8:2 8:3 8:4 9:0 9:1 …

Member Avatar
Member Avatar
+0 forum 5

I have this script that I am using that work to upload a file and to make sure the file is either jpg, jpeg, or gif. However, I want to restrict the user with the image width no larger than 150px. Is there an easy way to implement in the code I already have below? [CODE=php] if(isset($_POST['imageInsert'])) { $current_image=$_FILES['image']['name']; $imageextension = substr(strrchr($current_image, '.'), 1); if (($imageextension!= "jpg") && ($imageextension != "jpeg") && ($imageextension != "gif")) { die('Unknown extension. Only jpg, jpeg, and gif files are allowed. Please hit the back button on your browser and try again.'); } $time = …

Member Avatar
Member Avatar
+0 forum 5

Hi I am having trouble achieving 100% width of footer. If in css width, I set it to 100%, after resizing or after scrolling page horizontally the footer background is lost. If I set width in pixel, the problem increases(i am sure u know why) Do you know any fix that would make my footer 100% at any resolution, and after resizing (down) also. Thanks Vinayak

Member Avatar
Member Avatar
+0 forum 6

I want to make it so I can put a caption under an image so that the caption will only go as long as the image. I wan't to be able to do this without having to set a width for the caption. I do not know if this is possible with pure HTML and CSS. Anybody know how?

Member Avatar
Member Avatar
+0 forum 4

[CODE] <table width="100" border="1" cellpadding="0" cellspacing="0"> <tr> <td width="118" rowspan="2" valign="top"><p>Grupės pavadinimas</p></td> <td colspan="5" valign="top"><p>Maitinimo i&scaron;laidos Lt (už 1vaiko lankytą, nelankytą ir nepateisintą dieną) </p></td> <td width="104" valign="top"><p>Kitos i&scaron;laidos per mėnesį (i&scaron;laidos darbo užmokesčiui ir įmokoms soc.draudimui, kt. prekėms ir paslaugoms)</p></td> </tr> <tr> <td width="111" valign="top"><p>Pusryčiai</p></td> <td width="67" valign="top"><p>Pietūs</p></td> <td width="138" valign="top"><p>Pavakariai</p></td> <td width="83" valign="top"><p>Vakarienė</p></td> <td width="89" valign="top"><p>I&scaron;&nbsp; viso:</p></td> <td width="104" valign="top"><p>&nbsp;</p></td> </tr> <tr> <td width="118" valign="top"><p>Lop&scaron;elio grupės vaikams</p></td> <td width="111" valign="top"><p>&nbsp;</p> <p>1,43</p></td> <td width="67" valign="top"><p>&nbsp;</p> <p>2,14</p></td> <td width="138" valign="top"><p>&nbsp;</p> <p>1,19</p></td> <td width="83" valign="top"><p>&nbsp;</p></td> <td width="89" valign="top"><p>&nbsp;</p> <p>4,76</p></td> <td width="104" valign="top"><p>&nbsp;</p> <p>25,00</p></td> </tr> <tr> <td width="118" valign="top"><p>Darželio grupės vaikams</p></td> <td …

Member Avatar
Member Avatar
+0 forum 4

The End.