плагин ставить надо
Стиль таблички-зебры
Подскажите пожалуйста, сделал форму поиска внутри div элемента шапки. В стилях для div поиска прописал:
Почему во всех браузерах поиск отображается нормально справа в шапке, а в IE8 справа внизу страницы? Как еще можно выровнять его справа кроме margin-left:850px
Еще как вариант
<body oncopy="return false">
СЕГОДНЯ!!!
19 апреля 2013 Изменение выдачи без выкладывания текстового индекса
9:57 Степень изменения выдачи: 28.8%
Пользуюсь f.lux и Pangolin Screen Brightness, помогают ночью не ослепнуть
В Роботсе уже недели 2 назад закрыл
Disallow: /engine/go.php Disallow: /engine/download.php Disallow: /admin.php Disallow: /user/ Disallow: /newposts/ Disallow: /year/ Disallow: /backup/ Disallow: /upgrade/ Disallow: /tags/ Disallow: /statistics.html Disallow: /*subaction=userinfo Disallow: /*subaction=newposts Disallow: /*do=lastcomments Disallow: /*do=feedback Disallow: /*do=register Disallow: /*do=lostpassword Disallow: /*do=addnews Disallow: /*do=stats Disallow: /*do=pm Disallow: /index.php?do=
Почему до сих пор в индексе страицы вида:
/2013/01/18/
Подскажите пожалуйста, есть 2 картинки:
- фон bg-kran.gif
- кран kran.gif
как их сверстать правильно, чтобы вправую сторону кран уходил до конца экрана на любом разрешении экрана, и полоса прокрутки не появлалась?
<div class="menu"> <div class="kran"> </div></div>
.menu {background:url(bg-kran.gif) repeat-x;width: 1180px;margin-left:100px;height:51px;margin-top:183px;position: absolute;} .kran {background:url(kran.gif) no-repeat; width:70px; height: 158px; left: -68px; position: absolute;}
В итоге чтобы получилось так:
Скачай Notepad++ и делай поиск в папке, по запросу "http://", кстати скрытые ссылки тоже так удаляю. ---------- Добавлено 21.03.2013 в 04:11 ----------
Проблему решил таким способом:
В htaccess заменил строчку DirectoryIndex на
DirectoryIndex index.php?do=static&page=имя статической страинцы
Вместо {content} в main.tpl заменил:
[static=имя статической страницы]<div class="lanews">Последние <a href="/lastnews/">новости:</a></div><BR> {custom template="имя созданного шаблона" aviable="static" limit="10" fixed="yes" order="date" cache="yes"}<hr />[/static] [not-aviable=main]{content}[/not-aviable]
и создал шаблон custom.tpl для коротких новостей на главной
<h2>[full-link]{title}[/full-link]</h2>
Подскажите в чем проблема, на основном компе не запускается словоеб, ОС W7 x64, net framework 4 стоит. При запуске после заставки приложение вылетает. В логе пишет:
System.TypeInitializationException: Инициализатор типа "System.Windows.Media.FontFamily" выдал исключение. ---> System.ArgumentException: Значение не попадает в ожидаемый диапазон. в System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) в System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) в MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr) в MS.Internal.Text.TextInterface.Factory.GetSystemFontCollection(Boolean checkForUpdates) в MS.Internal.FontCache.DWriteFactory.get_SystemFontCollection() в System.Windows.Media.FontFamily..cctor() --- Конец трассировки внутреннего стека исключений --- в System.Windows.Media.Typeface..ctor(FontFamily fontFamily, FontStyle style, FontWeight weight, FontStretch stretch) в MS.Internal.Text.DynamicPropertyReader.GetTypeface(DependencyObject element) в MS.Internal.Text.TextProperties.InitCommon(DependencyObject target) в MS.Internal.Text.TextProperties..ctor(FrameworkElement target, Boolean isTypographyDefaultValue) в System.Windows.Controls.TextBlock.GetLineProperties() в System.Windows.Controls.TextBlock.EnsureTextBlockCache() в System.Windows.Controls.TextBlock.MeasureOverride(Size constraint) в System.Windows.FrameworkElement.MeasureCore(Size availableSize) в System.Windows.UIElement.Measure(Size availableSize) в System.Windows.Controls.DockPanel.MeasureOverride(Size constraint) в System.Windows.Controls.Grid.MeasureOverride(Size constraint) в System.Windows.Controls.Border.MeasureOverride(Size constraint) в Infragistics.Windows.Controls.CardPanel.MeasureOverride(Size availableSize) в MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) в System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) в System.Windows.Controls.Control.MeasureOverride(Size constraint) в Infragistics.Windows.Ribbon.RibbonGroupPanel.MeasureChildren(UIElement[] children, Size availableSize, Size& desiredSizeMax, Size& desiredSizeMin) в Infragistics.Windows.Ribbon.RibbonGroupPanel.MeasureOverrideImpl(Size availableSize) в Infragistics.Windows.Ribbon.RibbonGroupPanel.MeasureOverride(Size availableSize) в System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint) в Infragistics.Windows.Controls.PagerContentPresenter.MeasureOverride(Size availableSize) в System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) в System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) в System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint) в Infragistics.Windows.Ribbon.XamRibbon.MeasureOverride(Size constraint) в System.Windows.Controls.Decorator.MeasureOverride(Size constraint) в Infragistics.Windows.Controls.DesiredSizeDecorator.MeasureOverride(Size availableSize) в System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint) в Infragistics.Windows.Ribbon.XamRibbonWindow.MeasureOverride(Size availableSize) в System.Windows.Interop.HwndSource.SetLayoutSize() в System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) в System.Windows.Interop.HwndSource.set_RootVisual(Visual value) в System.Windows.Window.SetRootVisual() в System.Windows.Window.SetRootVisualAndUpdateSTC() в System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight) в System.Windows.Window.CreateSourceWindow(Boolean duringShow) в System.Windows.Window.CreateSourceWindowDuringShow() в System.Windows.Window.SafeCreateWindowDuringShow() в System.Windows.Window.ShowHelper(Object booleanBox) в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) в System.Windows.Threading.DispatcherOperation.InvokeImpl() в System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) в System.Threading.ExecutionContext.runTryCode(Object userData) в System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) в System.Windows.Threading.DispatcherOperation.Invoke() в System.Windows.Threading.Dispatcher.ProcessQueue() в System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) в MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) в MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) в System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) в MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) в System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) в System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) в System.Windows.Threading.Dispatcher.Run() в System.Windows.Application.RunDispatcher(Object ignore) в System.Windows.Application.RunInternal(Window window) в System.Windows.Application.Run(Window window) в KeyCollectorWPF.App.Main()